Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Developing with Sitefinity > Image Gallery LightBox Template

Image Gallery LightBox Template

  • Hitesh Gohel avatar

    Posted on Oct 7, 2009 (permalink)

    Hi,

    Can i overwrite my custom fields with image (from different database table) using ImageGallery LightBox Template.
    And if not the how do i add additional fields in the ImageGallery Control.
    I am using Sitefinity 3.6 Standard Edition.

    Thanks in advance
    Regards,
    Hitesh

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Oct 7, 2009 (permalink)

    Hi Hitesh Gohel,

    You can map GalleryLightboxList.ascx tempalte and modify it. You could add some controls to the template then use them in a custom contorol that derives from ImageGallery, but you cannot change the actual LightBox.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • Ivan avatar

    Posted on Mar 12, 2010 (permalink)

    Hi Ivan,

    Where is this template located?

    Thanks.
    -Ivan

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 14, 2010 (permalink)

    Hello Ivan,

    Under Downloads section of your account there is an archive with External templates

    #  Standard edition trial External Templates for .NET 3.5   (zip, 652 KB)  

    #  Standard edition trial External Templates for .NET 2.0   (zip, 647 KB)

    from where you can get the template you are looking for.

    Sincerely yours,
    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.

    Reply

  • Ivan avatar

    Posted on Mar 15, 2010 (permalink)

    Hi Ivan,

    I did not find the GalleryLightboxList.ascx template in either of the external template files you indicated.  I would like to modify the Image Gallery template which uses Lightbox in version 3.7.

    Please advise.  Thanks.
    -Ivan
     

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 15, 2010 (permalink)

    Hi Ivan,

    Take a look at  [ExternalTemplates.zip]\Sitefinity\Admin\ControlTemplates\Libraries\Modes. The template is located there.

    Regards,
    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.

    Reply

  • Ivan avatar

    Posted on Mar 15, 2010 (permalink)

    Hi Ivan,

    I'm looking at the template but I'm not sure how I would narrow the spacing between multiple rows when I use this template.  For example if I have 10 pictures and they display 5 on top of 5 how do I narrow the spacing between those 2 rows.  It's seems pretty wide.  Is it a css change?

    Thanks.
    -Ivan

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 15, 2010 (permalink)

    Hello Ivan,

    You can use css to do this. You can change the width and height of the
     ol.sf_photoListLightbox li dd.sf_image and ol.sf_photoListLightbox li

    Best wishes,
    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.

    Reply

  • Ivan avatar

    Posted on Mar 21, 2010 (permalink)

    Hi Ivan,

    I think these values are in the embedded file as indicated by this reference in the control template: 

    <telerik:CssFileLink ID="CssFileLink1" FileName=""
     Media="screen" runat="server" EmbeddedFileName="Telerik.Libraries.Resources.ControlTemplates.Frontend.librariesCommonLayout.css"  />

    This embedded file always seems to get loaded last in the css hierarchy so I can't override the values you recommended.  Do I need to make a local copy of this file and change the EmbeddedFileName attribute to the FileName attribute?

    Thanks.
    -Ivan

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Mar 22, 2010 (permalink)

    Hello Ivan,

    You can obtain the style sheets used in the built in content view controls from this KB article: How to apply custom style sheets to Sitefinity Content View controls

    Best wishes,
    Radoslav Georgiev
    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.

    Reply

  • Posted on May 18, 2010 (permalink)

    Dear Admin,
    I am developing a site using sitefinity 3.7. How i can download the ExternalTemplate.zip file.

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on May 18, 2010 (permalink)

    Hi Ashraf Ahmed,

    Please take a look at How to map a template

    Regards,
    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.

    Reply

  • Stuart Radlett avatar

    Posted on Jun 29, 2010 (permalink)

    Would it be possible to have the exact syntax for the entry needed in Telerik.Sitefinity.Configuration.ControlsConfig.xml to use GalleryLightboxList.ascx as an external template - I cannot find anywhere in the doco that lists these - Telerik.Sitefinity.Configuration.ControlsConfig.xml has nothing in it!

    Thanks,

    Stuart

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Jun 29, 2010 (permalink)

    Hello Stuart Radlett,

    You have to map this template from control edit mode - under advanced tab there is a section "Tempaltes" where you will find a property ItemListTemplatePath that you can use. Another option is using the control designer - Working with presentation modes

    Greetings,
    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

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Developing with Sitefinity > Image Gallery LightBox Template