• I’m trying to upload some professional photos from my computer into my wordpress blog using the plugin and am getting this message: Warning: exif_read_data(o%27rourke0084-3498792189-O.jpg): Illegal IFD offset in /home/meaganorourke/meaganorourke.com/wp-content/plugins/imsanity/libs/utils.php on line 62 — any ideas?

    https://ww.wp.xz.cn/plugins/imsanity/

Viewing 2 replies - 1 through 2 (of 2 total)
  • This looks like a PHP bug: https://bugs.php.net/bug.php?id=50660

    If upgrading PHP doesn’t fix the problem then you can at least get imsanity to ignore this error by changing line 62 of imsanity/libs/util.php from this:

    $exif = exif_read_data($file);

    to this:

    $exif = @exif_read_data($file);

    The only issue that may cause is that images may or may not always be rotated properly by default if the EXIF data isn’t readable. I will actually add this into the code for the next release.

    I just added this fix into version 2.3.1 so, although you may get some images not being rotated, they should still resize correctly.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Warning Message’ is closed to new replies.