1-888-365-2779
+1-888-365-2779
Try Now
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?

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:
    16 Jun 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