We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10940
    • 71 Posts
    After I try to upload an image I get the following error msg:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
    Error type/ Nr.: Warning - 2
    File: /home/navyleag/public_html/assets/snippets/maxigallery/watermark/Thumbnail.class.php
    Line: 359
    Line 359 source: $this->img["des"] = ImageCreateTrueColor($X_des,$Y_des);

    Parser timing
    MySQL: 0.0083 s (8 Requests)
    PHP: 0.0614 s
    Total: 0.0698 s



    This is my snippet call:
    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`4` &max_thumb_size=`158` &max_pic_size=`600` &thumb_use_dropshadow=`1`!]

    Any Ideas anybody?


      • 10940
      • 71 Posts
      Hi figured out I was trying to upload an MAC thumbanail image (beginning with a peroid) on my PC. Oppps.

      Don’t reccommend trying to upload those type of files