WordPress.org

Ready to get started?Download WordPress

Forums

Geotag
[resolved] error with png image + Geotag 2.0 (4 posts)

  1. Chris Laursen
    Member
    Posted 3 years ago #

    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?

  2. Boris
    Member
    Plugin Author

    Posted 3 years ago #

    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...

  3. Boris
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  4. Chris Laursen
    Member
    Posted 3 years ago #

    Awesome, thanks bobs. Nice work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags