Forums

[resolved] Adding Image metadata to my child theme (2 posts)

  1. llaughy
    Member
    Posted 1 year ago #

    I would like to be able to call some of the metadata that appears in the media/image upload window and have it inserted at the bottom of each post.

    The image uploader is gathering the exif data from the image and inputting it into the uploader window somehow, and I was wondering if anyone knew how to call that in the loop in single.php.

    I took a screenshot of the metadata I am after (in the red box)
    HERE.

    I have been looking at wp_get_attachment_metadata() but there isn't an example in the codex yet and I can't tell if this is the right path.

  2. llaughy
    Member
    Posted 1 year ago #

    I was able to sort this out after reading through this blog post: WordPress Gallery and EXIF. I had to dig through the comments section as well, and customize it pretty heavily for my needs. I am posting the link in case it is helpful to anyone looking pull EXIF data out of the database.

Topic Closed

This topic has been closed to new replies.

About this Topic