hi,
I used your code and lightbox does open but have 2 issues.
1. when I choose transformation for "Selected item transformation" it show on page and NOT "Transformation".
2. If I leave "Selected item transformation" empty I see three images with links, onlick lighbox open but show all three images.
here is my code:
3 "upload file" fields in one doc."Transformation"
<table>
<tr>
<td >
<a href="<%# GetFileUrl("Picture1") %>" rel="lightbox[group]" rev="<%# Eval("NodeAliasPath") %>" ><%# GetImage("Picture1") %></a>
</td>
<td >
<a href="<%# GetFileUrl("Picture2") %>" rel="lightbox[group]" rev="<%# Eval("NodeAliasPath") %>" ><%# GetImage("Picture2") %></a>
</td>
<td >
<a href="<%# GetFileUrl("Picture3") %>" rel="lightbox[group]" rev="<%# Eval("NodeAliasPath") %>" ><%# GetImage("Picture3") %></a>
</td>
</tr>
</table>
all three iimages have link like this:
http://mySite.com/getattachment/3aad7436-b0a2-43a5-801b-fa58cdb18120/test-1234.aspx
this part "/test-1234.aspx" is at end of all three, only thenguid changes.
"Selected item transformation"
<%# IfEmpty(Eval("Picture1"), "no image", "<img alt=\"" + Eval("DocumentName") + "\" src=\"" + GetFileUrl("Picture1") + "?maxsidesize=800\" />") %>
<%# IfEmpty(Eval("Picture2"), "no image", "<img alt=\"" + Eval("DocumentName") + "\" src=\"" + GetFileUrl("Picture2") + "?maxsidesize=800\" />") %>
<%# IfEmpty(Eval("Picture3"), "no image", "<img alt=\"" + Eval("DocumentName") + "\" src=\"" + GetFileUrl("Picture3") + "?maxsidesize=800\" />") %>
Any idea how to fix?
THANKS :)