• Resolved Corrado Prever

    (@artphotoasia)


    Hi there

    I’m trig to integrate exifography plugin to show data exif of the image in your nice plugin.
    I did that…

    <div class=”pswp__counter”></div>
    <div class=”exifichiamo”>’
    .exifography_display_exif(‘aperture,shutter,iso’,$myimage).
    ‘</div>

    Where $myimage is the ID of the image… how can get easily that ID from your code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    The code wouldn’t work at all.

    .exifography_display_exif(‘aperture,shutter,iso’,$myimage).

    has to be PHP code:

    
    <?php exifography_display_exif(‘aperture,shutter,iso’,$myimage); ?>
    

    So this runs on the server for one image. However, the Lightbox with PhotoSwipe frontend will display images using JavaScript and displays the information dynamically as well.

    Getting this done would need a number of changes in Lightbox with PhotoSwipe:

    You would need to add the EXIF info to every single image on the page on server side (within the backend code) and then modify the frontend code to use this data for updating the HTML content.

    There is already a request to include EXIF information in Lightbox with PhotoSwipe, I am just a bit busy with other projects so I didn’t find the time to add this yet.

    Thread Starter Corrado Prever

    (@artphotoasia)

    Thank you so much for the reply, I really appreciate.

    I know shoud be php and I have already integrated in photoswipe code markup but regretfully get only one image as you said.

    ”You would need to add the EXIF info to every single image on the page on server side (within the backend code) and then modify the frontend code to use this data for updating the HTML content”

    What about get the EXIF data from the file iself? I think should be possible.

    Plugin Author Arno Welzel

    (@awelzel)

    I already plan to add EXIF info. See here:

    https://www.ads-software.com/support/topic/show-exif/

    Plugin Author Arno Welzel

    (@awelzel)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘exif data request’ is closed to new replies.