WordPress.org

Ready to get started?Download WordPress

Forums

Exifography
EXIF data does not display (9 posts)

  1. anvithks
    Member
    Posted 1 year ago #

    Hi,
    I'm running WP 3.4.1(soon to update 3.4.2) and have installed the photum theme. The site is a photography clubs blog (http://belgaumphotographerscircle.com)

    The theme has a custom post type for photographs and custom taxonomies for location, equipment and category.
    I would like to display the EXIF information for every image and installed your plugin.

    I have pasted the php code in the template file.

    Nothing is displayed.

    http://wordpress.org/extend/plugins/thesography/

  2. kristarella
    Member
    Plugin Author

    Posted 1 year ago #

    For some reason the function isn't automatically getting the image ID in that theme, but we can grab the featured image ID and insert it. Try this in your template file:

    <?php
    if (function_exists('exifography_display_exif')) {
    	$id = get_post_thumbnail_id($post->ID);
    	echo exifography_display_exif('all',$id);
    }
    ?>
  3. Avelino FV
    Member
    Posted 1 year ago #

    Hi Kristarella,

    I installed your excellent plugins, I used the php code indicated in the instructions and also that you indicate in this thread, do not see the EXIF data of the photos.
    I am using the latest version of WordPress and duotone theme. (I tested also with other themes)..

    How I can display EXIF data of my photoblog aferve.com?

    Thank you very much.
    Best regards.

  4. kristarella
    Member
    Plugin Author

    Posted 1 year ago #

    @Avelino The code above is specifically using the ID of the image set as the WordPress featured image, so only use it if you are setting featured images, otherwise you can use the regular insertion options shown at http://www.kristarella.com/exifography/

    If you do need to use the code above, make sure the code is inside the post loop in your theme. If it is and it's not working you can replace '$post->ID' with 'get_the_ID()' and see if that works better.

    The EXIF wrapper actually is being output above the sharing stuff on your site, there's just nothing inside it... I dunno if that's from the automatic insert option on the settings page, a shortcode, or the template tag. If it is from using the code above, then maybe the issue is that you don't have a featured image set, so it's not getting the right image ID.

  5. Avelino FV
    Member
    Posted 1 year ago #

    Thanks for responding.

    The images I upload directly from your computer using the WordPress post editor.
    The plugin put the option to display EXIF data automatically.
    I also put the code
    <?php
    if (function_exists('exifography_display_exif'))
    echo exifography_display_exif();
    ?>

    in duotone deltheme post.php file and does not show EXIF data.

    Thank you very much.
    Best regards.

  6. kristarella
    Member
    Plugin Author

    Posted 1 year ago #

    @Avelino Automatic insert only works when the image is attached to the post. You can tell if the image is attached to the post by looking at the media library. There is a column that lists which post an image is attached to.

    media library screenshot

    Duotone actually displays some EXIF information as well, but it also only gets the EXIF if the image is attached to the post. You can see in this screenshot duotone exif is on the left and Exifography is on the right.

    duotone content screenshot

    The only other way to display EXIF without having the image attached to the post is to use the shortcode with the image ID in it.

  7. Avelino FV
    Member
    Posted 1 year ago #

    Hi Kristarella,

    I say the same thing, but still does not show EXIF data.

    Screenshot of my images attached.

    Not to do to make them look EXIF data correctly.

    Thank you very much for everything.
    Best regards.

  8. kristarella
    Member
    Plugin Author

    Posted 1 year ago #

    In that case I can only imagine that there's some adverse plugin interaction. Try disabling all plugins and see if the default theme EXIF shows up. Then enable just Exifography and see if it shows up. If it does then another plugin is stopping it and you can enable other plugins one by one to see which one it is.

  9. Oliverasm
    Member
    Posted 1 year ago #

    i have a photoblog page http://www.mipicasa.com, i installed your plugin Exifography and nothing is shown on photo post. I try suggestion of this page and nothing happens. Please some help. Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic