View Full Version : Warning with gifs and pngs
September 11th, 2005, 10:37 AM
I have noticed that each time I try to upload a png or gif file I get the following warning:
Warning: exif_read_data(dulia.gif): file not supported in /includes/functions_gallery_imageedit.php on line 197
Although it gets added to the categrory as usual and the thumbnail is ok!
September 11th, 2005, 02:29 PM
Make sure that you have this bit of code in your functions_gallery_editimage.php file:
$exif = @exif_read_data($vba_options['gallery_filedirectory'] . '/' . implode('/', preg_split('//', $userid, -1, PREG_SPLIT_NO_EMPTY)) . '/' . $imageinfo['saveas'], 'EXIF');
The @ symbol in front of the function should prevent any errors from being printed out, so you shouldn't have that problem as long as the @ symbol is there.
September 13th, 2005, 05:10 AM
I can't find that file! Where is it?
September 13th, 2005, 01:03 PM
In your forum/includes folder.
September 15th, 2005, 05:59 AM
Thanks! It works nicely now! :)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.