Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Lightbox - Thumbnail size versus main image size View modes: 
User avatar
Member
Member
jennifer-inorbital - 2/8/2011 1:18:56 PM
   
Lightbox - Thumbnail size versus main image size
hi there,

I am using the Lightbox Webpart and would like the thumbnail size to differ from the image that appears in the pop-up window. How and where do I set the dimensions for the main pop-up window image?

This is my transformation code:
<a href="<%# GetDocumentUrl() %>" rel="lightbox-[group]" rev="<%# Eval("NodeAliasPath") %>" 

title="<%# Eval("FileDescription") %>"><img width="150" border="0" src="<%# GetFileUrl("FileAttachment") %>
alt="<%# Eval("FileName") %>" /></a>

setting the width="150" is correct for the thumbnail but this also reflects the main image.

Thank you.

User avatar
Member
Member
kentico_michal - 2/11/2011 6:35:22 AM
   
RE:Lightbox - Thumbnail size versus main image size
Dear Jennifer,

Have you tried to use Frame width/Frame height properties of the Lightbox web part which define widht/height of lightbox frame?

Best regards,
Michal Legen