1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Image gallery view

Image gallery view

2 posts, 0 answered
  1. Jean
    Jean avatar
    90 posts
    Registered:
    06 Nov 2008
    02 Jun 2011
    Link to this post
    Hi There,

    I've upgraded to SF 4.1 SP 1, but now my image gallery has stopped working. When I pick the list with lightbox, the list is displayed vertically, and I see no property on the designer to set the flow layout. I've used firebug to check the source and it seems that there is no stylesheet loaded for the widget. I searched for the style class fimagesTmbList but could not find it. Is this a known issue? If so, what is the work around?

    Regards,
    Jean Erasmus
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    23 Aug 2017
    02 Jun 2011
    Link to this post
    Hi Jean,

    I tested if the image gallery will break with upgrade and it did not. The css for proper display of lightbox is missing and you will need to manually add it. One way is to add in the Theme you are using, or using a css widget on the page.
    .sfimagesTmbList .sfimagesTmb {
        display: inline-block;
        height: 120px;
        overflow: hidden;
        padding: 10px;
        width: 120px;
    }
    .sfimagesTmbList a {
        display: block;
        height: 120px;
        overflow: hidden;
        text-align: center;
        width: 120px;
    }
    .sfimagesTmbList img {
        vertical-align: middle;
    }

    Examining a properly working image gallery the css missing is display: inline-block;. You can examine a working project with firebug to add any more css that you need.

    Hope this information helps you.

    Best wishes,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered