Include photographer name in store

Bring Your Business to LifeSupportImage StoreInclude photographer name in store

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46093
    trmash
    Participant

    Hi, thanks for this plugin – so far it’s looking like being the closest to what I need.

    When I upload photos to a new gallery, the photographer credit is automatically extracted from an image’s meta tags. To give the proper recognition to multiple photographers who have contributed, how can I get this information to display under the relevant thumbnails (and, if possible, the popup preview)?

    Thanks!

    #46228
    Xpark Media
    Keymaster

    you will have to create a plugin or a page theme to pull the information you can use the WordPress function get_post( GALLERY_TRUE_ID ) to get the gallery information.

    To get individual image information you can use $metadata = get_post_meta( IMAGE_ID, '_wp_attachment_metadata', true ); this will return an array. to display the user information use echo $metadata['image_meta']['credit']

    #46534
    trmash
    Participant

    Thanks.

    When you say “create a … page theme” do you mean a page template within my theme?

    #46612
    Xpark Media
    Keymaster

    yes, here is a link to WordPress that shows you how to create page templates if you don’t know

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.