More in this section

Forums / Developing with Sitefinity / Shadowbox in Images and documents module

Shadowbox in Images and documents module

2 posts, 0 answered
  1. Nauman
    Nauman avatar
    35 posts
    Registered:
    28 Jul 2008
    04 May 2009
    Link to this post
    Hi

    Is it possible to implement shadowbox in images and documents module to display the most common media formats ?

    Thanks
    Nauman
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    04 May 2009
    Link to this post
    Hello Nauman,

    There are several approaches:

    1. Creating a new mode for the ImageGallery control. Please take a look ImageGallery control templates. You should add rel="shadowbox", and of course include the script in the beginning of the new template.

    2. Second approach, less elegant one is to tweak the render html code. You should replace all links pointing to jpg files (and all others that you want to show via shadowbox) with such having rel="shadowbox" attribute.

    3. Another approach is to use our API and dynamically build links to items in libraries.

    I hope this helps.

    Best wishes,
    Georgi
    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.
2 posts, 0 answered