WordPress.org

Support

Support » Plugins and Hacks » Exifography » [Resolved] [Plugin: Exifography] EXIF below all images in a post

[Resolved] [Plugin: Exifography] EXIF below all images in a post

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author kristarella

    @kristarella

    To do it for each image in a post you will need to use the shortcode. NB, it’s not a lot slower than inserting the images themselves since you need to click “insert into post” for each image, you could copy and paste the shortcode from the image dialogue at the same time.

    If you’re using a gallery I wrote this post today about filtering the gallery output to include the EXIF in that: http://www.kristarella.com/2012/09/exif-in-wordpress-gallery-image-titles/

    It might be possible to use a content filter, but it would be rather complicated: we’d need to write a PHP function that goes through the post content, picks out the image tags, find the ID for that image (WordPress usually inserts it in the image class) and then insert the EXIF after that image.

    If you can be more specific about what you are looking to do I might be able to help.

    Hi there. You already output the shortcode code to the media overview page. Is there a way to just insert that code right into the description field?

    Background: I’m presenting photos in lightboxes, and would like the exif data to display below it.

    Plugin Author kristarella

    @kristarella

    @jack The shortcode doesn’t get processed in the caption field and I don’t think the description field is used in image output. So it’s no use putting it in there. It might be able to go in the alt or title fields, but I think I’ve tried that before and had no success replacing those things for individual images, only in galleries.

    Thanks for the reply. I found a lightbox plugin that pulls the description field, so I just copy and paste the shortcode into it.

    Plugin Author kristarella

    @kristarella

    Okay, glad that works for you. I couldn’t find a way of filtering the image description.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Exifography] EXIF below all images in a post’ is closed to new replies.
Skip to toolbar