this works fine for jpg so far but I get errors with gifs. The gif uploads, but has the following error message with no watermark on the image. How can I code this watermark hack around gifs? or just to skip gifs?
Quote:
Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /includes/functions_file.php on line 567
Warning: imagecreatefromjpeg(): '/home/domain/my_domain_name.com/VBULL_ATTACH/3/3418.attach' is not a valid JPEG file in /includes/functions_file.php on line 567
Warning: imagealphablending(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 568
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 572
Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 577
Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 578
|