More in this section

Forums / Developing with Sitefinity / Lytebox Gallery Control problem

Lytebox Gallery Control problem

6 posts, 0 answered
  1. Michael
    Michael avatar
    31 posts
    Registered:
    07 Sep 2007
    11 Apr 2009
    Link to this post
    I just upgraded from SF 3.2 to 3.6 and have a problem with my Lytebox galleries.  I am using the Lytebox control that can be found here.  My problem is that there is a field that you select what folder you want to get your pictures from, but after the upgrade when you try to select a folder it brings up a listing of my pages.  Has anything changed from 3.2 to 3.6 that would cause this problem?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    14 Apr 2009
    Link to this post
    Hi Michael,

    Try using the following selector

        // file manager selector.  
     
        [WebEditor("Telerik.FileManager.UrlWebEditor, Telerik.FileManager")] 

    for Image and ThumbnailFolder properties of LyteBox code behind. The editor will allow you to browse project folders.

    All the best,
    Ivan Dimitrov
    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. Michael
    Michael avatar
    31 posts
    Registered:
    07 Sep 2007
    14 Apr 2009
    Link to this post
    Ok, changing that code made me able to select folders, but after I select folders it doesn't put the file path into the field box.  Any ideas?
  4. Dido
    Dido avatar
    149 posts
    Registered:
    24 Sep 2012
    20 Apr 2009
    Link to this post
    Hello Michael,

    First of all, why don't you use the integrated ImageGallery control? It has the same mode, called List & Lightbox?

    About your problem: putting the mentioned attribute above the property should do the trick.

    Greetings,
    Dido
    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.
  5. Michael
    Michael avatar
    31 posts
    Registered:
    07 Sep 2007
    20 Apr 2009
    Link to this post
    The reason I use the custom control is that it allows the use of file directory not the database.  Is that possible with the built in control?
  6. Dido
    Dido avatar
    149 posts
    Registered:
    24 Sep 2012
    22 Apr 2009
    Link to this post
    Hello Michael,

    While it does not support the file system, I recommend to you to use it and upload your images to db. Upgrades will be more painless.

    Anyway, I have made a very simple image gallery using Lightbox 2 to demonstrate how it is done. Feel free to modify it as you like.

    Regards,
    Dido
    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.
Register for webinar
6 posts, 0 answered