Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

If you Like the Asteria Lite Theme and want to Keep it free forever Please Rate it on Wordpress.org (It only takes a few seconds)
Viewing 9 posts - 1 through 9 (of 9 total)

Exif data

Home Forums Free Theme Support Asteria Lite Exif data

  • #417828

    Martin Van de Moortel

    Hello
    I’m a photographer and like your theme very much to present some of my work.
    I’m using ‘the beautify my galleries’ and ‘lightbox’ features to show my images.
    I want to share some exif data (Aperture, shutter speed, ISO…) with the viewers for each image when you select an image from the thumbnail list or present it in the lightbox.
    Is there a way to do this?
    I’m willing to buy the pro theme or even another theme supporting this possibility.
    Thanks

    #417843

    Towfiq I.

    administrator

    how are you loading the exif data? are calling it with a plugin? or does your image already contains the exif data?

    let me know.

    #418023

    Martin Van de Moortel

    I’m using a plugin called Exifography. This plugin generates for each image a shortcode example: [exif id=”868″]

    #422116

    Towfiq I.

    administrator

    can you post a page link where the exif data is visible.

    #422308

    Martin Van de Moortel

    1. If you point at a thumbnail you will see the exif data pop-up. To do so I had to add the code from point 2. The way it displays now is not the way I want.
    I would like to see it on the page itself, on the right or left side. (Page template with a left side bar).
    Link: http://www.martinvdmoortel-photography.be/rockabilly/

    2. I added this code in the functions.php (found on the Exifography website)

    function my_image_titles($atts,$img) {
    if (function_exists(‘exifography_display_exif’))
    $atts[‘title’] = trim(strip_tags( $img->post_title )) .’ ‘. exifography_display_exif(‘aperture,shutter,iso,focal_length’,$img->ID);
    else
    $atts[‘title’] = trim(strip_tags( $img->post_title ));

    return $atts;
    }
    add_filter(‘wp_get_attachment_image_attributes’,’my_image_titles’,10,2);

    3. Another problem I have is that sometimes the big image associated with the first thumbnail does not open. If I click on the thumb, only half of the image is displayed.
    I have to refresh the page to solve it?

    #424778

    Martin Van de Moortel

    For point 3, I found a solution in one of the topics replacing the gallery.js with this code http://pastebin.com/raw.php?i=bZnJastw. But now the Lightbox doesn’t work anymore!

    #430242

    Towfiq I.

    administrator

    The I just checked the gallery and the lightbox. its working fine. About the Exif, its being added as the title of the image right? when you hover over the the thumbnails the exif data is being shown? correct?

    #430478

    Martin Van de Moortel

    – The lightbox is working because I restored the original code. With the code found here http://pastebin.com/raw.php?i=bZnJastw the lightbox doesn’t work anymore.
    Original code = Lightbox working but problem opening the first image.
    New code = Problem with opening the first image solved but Lightbox not working.
    – About the Exif it is indeed appended to the title of the image.

    #440153

    Martin Van de Moortel

    Test.

You must be logged in to reply to this topic.