Support » Plugin: Geotag » error with png image Geotag 2.0

  • Resolved Chris Laursen

    (@chrislaursen)


    Geotag 2.0
    WordPress 3.1.1

    Get this error on my map page using a .png as one of my post thumbnails:

    “Warning: exif_read_data(wizardwars.png) [function.exif-read-data]: File not supported in /home/claursen/public_html/wp-content/plugins/geotag/geotag.php on line 1829”

    Does the plugin not support png?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Boris

    (@bobs1982)

    The exif_read_data() function is provided by php (not by the geotag plugin) and it can only process .jpg and .tiff files. I’m not sure, but I think .png files doesn’t have any exif header at all. However, the Geotag plugin should check the extension and skip other files than .jpg or .tiff instead of creating an error message – I will fix that…

    Plugin Author Boris

    (@bobs1982)

    OK…fixed it. Please download v2.0 again and overwrite the old geotag.php file in your plugin directory with the new one. I didn’t create a new version for the bugfix. The plugin will skip other files than jpg or tiff.

    Awesome, thanks bobs. Nice work

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error with png image Geotag 2.0’ is closed to new replies.