• Resolved alinur05

    (@alinur05)


    I need to retrieve images with a tag. I have tag_name, tag_id e.c.t

    $query = “SELECT image_url FROM ” . $wpdb->prefix . “bwg_image WHER tag_id = %d LIMIT 6”;

    So, basically, i need to know how Photo Gallery makes request to retrieve images with the given tag.

    Thanks!!

Viewing 1 replies (of 1 total)
  • Plugin Support Yasin Abedi

    (@yasinabedi)

    Hi @alinur05 ,

    Thank you for posting your question in our forum!
    Please note that we have only one option for We have a ‘Tag’ select field in the short code popup, or when you are inserting the gallery to a page directly, where you can easily choose tags to retrieve images by tag. If you’d like to use a more customized way of selecting images, some MySQL knowledge would be require as we keep tag information in a separate table, and the query you posted will not work.
    Unfortunately, we do not provide support for custom queries, but we will be happy to help you with any other issue/question that have.

    Best Regards
    Yasin

Viewing 1 replies (of 1 total)
  • The topic ‘Query for getting images with a tag.’ is closed to new replies.