More in this section

Forums / Developing with Sitefinity / Image Gallery control with specific custom library?

Image Gallery control with specific custom library?

3 posts, 0 answered
  1. James
    James avatar
    6 posts
    Registered:
    17 Mar 2009
    04 Jun 2009
    Link to this post
    Hi, there,

    I'm trying to use Image Gallery control to display items in my pre-defined custom library. Currently everything works just fine except it brings all images out from all the libraries, I just want it to bind to a specific library.  I've already selected the option [Images from selected libraries], but there is no library listed out for me to choose even i've created 2 libraries in my system. What did i missed?

    By the way, the libraries i created in my system are all custom library, they are not image library, is that the reason?

    thanks,

    James
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    05 Jun 2009
    Link to this post
    Hello James,

    You are right. Image Gallery control designer lists only libraries of type Image. So, you have two options to achieve the required functionality:
    1. Change the type of your libraries through the administration of Images & Documents module.
    2. Use ParentIDs property of the Image Gallery control to set the ID of the library you need to display. This property could be found under the Advanced tab > section Behavior.

    Hope this helps.

    Best wishes,
    Pepi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. James
    James avatar
    6 posts
    Registered:
    17 Mar 2009
    08 Jun 2009
    Link to this post
    Pepi,

    thanks, it helps.

    James
Register for webinar
3 posts, 0 answered