More in this section
Forums / Designing with Sitefinity / Image Gallery Lightbox Popup Size

Image Gallery Lightbox Popup Size

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. David Jones
    David Jones avatar
    3 posts
    03 Nov 2009
    28 Jan 2010
    Link to this post
    Hello. I have an image gallery using the lightbox feature. When you click on a thumbnail and the large image opens, the image is shown at original size and requires scrolling to view. Is there an option in the image gallery control to 'fit' image to screen? This would be nice for people who use various desktop resolutions. Or do we need to delete all of the images and resize them locally and re-upload them? Thanks!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    28 Jan 2010
    Link to this post
    Hi David Jones,

    You have to modify the js of the lightbox library or use Latest Lightbox v2 with automatic resizing, auto resize lightbox. Of course resizing all images manually or programmatically( width and height are metadata so you can access the using GetMetaData of an IContent object, then set them using SetMetaData method) is also an option.

    Kind regards,
    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.
2 posts, 0 answered