Image gallery view
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
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
;
display
: inline-
block
;
. You can examine a working project with firebug to add any more css that you need.