More in this section

Forums / General Discussions / Add a filter option to the images library

Add a filter option to the images library

2 posts, 0 answered
  1. AmrElsayed
    AmrElsayed avatar
    87 posts
    18 Jul 2012
    17 Jul 2011
    Link to this post

    We added a hierarchical classification to the website, then we added a custom field to the images of type "classification" and choose the classification we created.

    We need to know is there a way to add a filter option to the images library administration (i.e from Content>Images) to filter the images by this classification?

  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    30 Oct 2017
    20 Jul 2011
    Link to this post
    Hi Amrelsayed,

    Theoretically it'spossible to achieve this, although it's not quite trivial. What you can try is to mimic the settings from the current By Tag filtering, and create new definitions that resemble them so you can filter by your custom taxonomy. Please go to Administration->Settings->Advanced->Libraries->Controls->ImagesBackend->Views->ImagesBackendList->Sections->Sidebar and inspect how the definitions are constructed for the ByTag section. Basically you'll need to create a new section and add a DynamicCommandWidgetElement and a CommandWidgetElement with similar settings to the one that ByTag section is using if you want to achieve similar functionality. Please let us know if you need any additional information on this.

    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested 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