WordPress.org

Ready to get started?Download WordPress

Forums

Create slideshow with tagged images (2 posts)

  1. Mmikrouli
    Member
    Posted 1 year ago #

    Hi all!
    I would like to do the following: I want to create slideshow with images of the same Tag, no matter what the tag is of the post they are uploaded in. More detailed, I have created a category (blog) which has many posts. Each post includes almost 50 photos with different tags. What I desperately want to do is create different slideshows, each of which will display images of a certain image tag (e.g. a slideshow which will include images of tag "Landscape", another slideshow with images of tag "Action", etc).

    Could you please suggest a way to accomplish that or any plugin which may help me?

    Thank you in advance!
    Marietta

  2. bcworkz
    Member
    Posted 1 year ago #

    My knowledge of available plugins is almost non-existent, but I'm pretty good with custom approaches. Uploaded images are typically associated with an attachment post-type, so it's not a huge stretch to port the tag system for posts into attachments. Unfortunately, I don't think most of the functions will make the change, so you may be better off with something simpler.

    You could simply store the image tags in post meta much as you would store other custom data for posts, except in this case the post type is attachment. This will make querying for various attachments with certain meta data fairly easy.

    This is one (or two?) possible approaches, there are certainly others. Don't forget to look into existing plugins too. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic