Download & Extend

Exif read error - Illegal IFD Pointer

Project:Fast Gallery
Version:6.x-4.0-beta7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Don't know what it means exactly, or if it affects functionality. This happens when re-scanning... No other problems with the module.

warning: exif_read_data(filename.JPG) [exif_read_data]: Illegal IFD Pointer in /sites/all/modules/fast_gallery/fast_gallery.class.php on line 301.

Comments

#1

I've been getting this all morning, and can't figure out why. It happens with one of my gallery directories on the folder.jpg file. All the other galleries are fine. I changed the folder image to another, and it still happens. Finally, it goes away if I remove the folder.jpg file entirely.

Too weird.

#2

it looks like there's a bad exif character. Try to edit them.

#3

I think you are right, but it was very difficult finding the bad character, even using exiftool to dump all the fields. I think I finally had to replace the data in a bunch of fields before it went away.

One possibility is when a Carriage Return character sits at the end of an exif field. This seems to make nasty errors, and you can't find the CR because you don't see it. Possibly exiftool handles or ignores the CR whereas fast_gallery doesn't.

I've made some mods, but I think this error is in the standard fast_gallery exif reading code.

#4

Status:active» closed (won't fix)

this version is not supported anymore