1
Mods & Plugins (Releases & Support) / "supplied argument is not a valid Image resource" in Annotation (watermark) MOD
« on: July 17, 2006, 07:43:40 PM »
Hello everyone,
I am using GD version 2, 4images 1.7.2 and I encounter this error when adding new images and annotation to them...
Although it says that it had added the annotation, the picture remains unannotated.
a link to the annotation picture : Annotation.png
can anyone give me any clue to what is happening? I am totally new to php
I am using GD version 2, 4images 1.7.2 and I encounter this error when adding new images and annotation to them...
Code: [Select]
Warning: imagesx(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 186
Working on data/media/1/a32kya.jpg file:
Added annotation in data/media/1/a32kya.jpg file.
Created thumbnail.
Image added: a32kya.jpeg
Although it says that it had added the annotation, the picture remains unannotated.
a link to the annotation picture : Annotation.png
can anyone give me any clue to what is happening? I am totally new to php