More in this section
Forums / General Discussions / Selecting Images to Display in Image Gallery by Tag?

Selecting Images to Display in Image Gallery by Tag?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Nikki
    Nikki avatar
    1 posts
    Registered:
    06 Jan 2011
    07 Jan 2011
    Link to this post
    I am setting up an image gallery and would like to display images by tag instead of by gallery. Is this currently possible?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    07 Jan 2011
    Link to this post
    Hello Nikki,

    You can filter by taxonomy only if you know the taxon ID. Filtering for ImageGallery control could be done from the control definition when you open the control for editing go to Home > ControlDefinition > Views >  MasterListView

    example

    Tags.Contains("{4EEA167D-71D0-4332-9057-D550E2738076}")  AND Visible = true AND Status = Live AND PublicationDate <= DateTime.UtcNow AND (ExpirationDate = NULL OR ExpirationDate > DateTime.UtcNow)


    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered