WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin NextGEN Gallery] GPS & EXIF (3 posts)

  1. Arnoud
    Member
    Posted 4 years ago #

    I have added some images to a gallery.
    Later on I added GPS data to these images.
    Using FTP I re-uploaded the images to the gallery folder (overwriting the existing files).
    Next I selected the option "Import Meta" in Manage Gallery.
    The GPS data however is not read from the new files.

    When I use the Add Images option to upload the same image (as I did via FTP) the GPS data is read and shown on the Google Maps plugin.

    How come the Import Meta doesn't see the new GPS data?

  2. Arnoud
    Member
    Posted 4 years ago #

    Anyone?

  3. grezvany13
    Member
    Posted 4 years ago #

    NextGen Gallery reads the meta data from the image and puts the information in an array which is easier to access. In this process only the default information is kept, which means that the GPS data is lost.

    You can easily add extra fields to the array by modifying the get_EXIF() function in /lib/meta.php (line 105).

    I can't provide the exact code since I don't have any pictures with GPS information, but it shouldn't be a big problem to add this functionality by yourself.

Topic Closed

This topic has been closed to new replies.

About this Topic