We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25519
    • 265 Posts
    Hi
    I’m getting a parse error from a new MaxiGallery install - here’s the snippet call:
    [!MaxiGallery? &display='embedded' &embedtype='lightboxv2' &pics_per_row='4' &max_thumb_size='100' &max_pic_size='0'!]

    Here’s the parse error:
    Error: 	imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/homepages/11/d12345abcde/htdocs/assets/snippets/maxigallery/watermark/Thumbnail.class.php	 
      Line: 	359	 
      Line 359 source: 	$this->img["des"] = ImageCreateTrueColor($X_des,$Y_des); 
    

    The ’galleries’ directory is set to 777, and I can see in that directory that from my first attempt a gallery was created with the images I uploaded.

    Can anyone advise here please?

    Thanks in advance
      • 4041
      • 788 Posts
      Looks like you have used single quotes instead of backticks to enclose the snippet params, try this:

      [!MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_per_row=`4` &max_thumb_size=`100` &max_pic_size=`0`]
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 25519
        • 265 Posts
        Sorry for the really late reply - that fixed it, the snippet call was a copy/paste and can’t beleive i missed that rolleyes
        thanks