Hey! good morning everybody!
I have been installed the image_gallery module, but i have a problem. In the section admin everything is fine, but in the public site, when i try to get into gallery page, i get this error:
[Warning] imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
GET /galerias/?flush=1
Line 64 in /var/www/vhosts/mysite.com/httpdocs/sapphire/filesystem/GD.php
Source
55 /**
56 * Resize an image to cover the given width/height completely, and crop off any overhanging edges.
57 */
58 function croppedResize($width, $height) {
59 if(!$this->gd) return;
60
61 $width = round($width);
62 $height = round($height);
63
64 $newGD = imagecreatetruecolor($width, $height);
65
66 // Preserves transparency between images
67 imagealphablending($newGD, false);
68 imagesavealpha($newGD, true);
69
70 $destAR = $width / $height;
Anybody know what is the problem? Thanks!