• Hello,
    I run for free a website for a non profit association with multiple collaborators, and I’m looking on how to credit both the post writer and the thumbnail graphic creator when a story is published.
    Actually I can add one post creator (or multiple authors using external plugins) but cannot understand a solution to add the image thumbnail creator.
    Also I would like to credit the photographer, when there is a gallery.
    Any idea to accomplish that?

    I would have my template write something like:
    Post title
    text by Author1
    graphics by Author2
    photo by Author3

    Thank you

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It depends on where the data is being stored, or if it’s being stored. EXIF data does not survive resizing uploads unless you have specific code to manage it. Ideally, any needed data is extracted during the upload process and saved in post meta. Then the data can be retrieved and displayed like any other meta data with code similar to echo get_post_meta( get_the_ID(), 'key_to_data_saved_previously');.

    Of course, if the data you need is not stored in EXIF to begin with, it’ll need to be added manually. Extra fields can be added to the media library UI and any entered values saved in the attachment’s post meta.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add the creator of the post thumbnail to the post?’ is closed to new replies.