hi, i recently downloaded and installed maxigallery.
my page show the "manage pictures" button, but when i try to upload an image i get this error:
« 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: C:\Programmi\xampp\htdocs\ex\dev\assets\snippets\maxigallery\watermark\Thumbnail.class.php
Line: 354
Line 354 source: $this->img["des"] = ImageCreateTrueColor($X_des,$Y_des);
i have the gd library version 2 up and working fine (used with other scripts):
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
the same problem was issued by qnick in this post
http://modxcms.com/forums/index.php/topic,3843.msg31931/topicseen.html#msg31931, but i could find no solutions in this or other topics.
i tried to upload jpg, gif and png files (max 20KB) all with the same result: the script uploads the image, but can’t create the thumbnail.
(it really seems a problem with the gd library, but as i already said it is working fine with other scripts)
i use mod x version 0.9.2.1, maxigallery version 0.4.1, php 5.1.4 on a localhost server (windows 2000 pro)
can someone help me, please?
thank you