Use FileGenie with Lightbox Support
Question:
How can I use FileGenie's thumbnail view together with the Lightbox-extension?
Answer:
To start combining FileGenie and Lightbox, first create a FileGenie Folder List. Make sure you select the Show Thumbnails only option! The next thing to do is creating the Folder List Table.
Note: We don't use the Thumbnail_image from the Folder List because this does not offer the possibility to add links or change properties!
Choose Insert, Image from the menu and select Data sources. From the newly created Folder List click on Thumbnail-name. Set the image border to 0, insert an Alt-text and/or change any other properties for this image. Select the image and apply the Folder List Table. Set this to repeat as you would like.
That's it for the FileGenie part. If you would preview the page the thumbnails would be shown. Now we will add the Lightbox.
Make sure the image is selected and from the DMX Zone bar select Lightbox Link. Click on Browse to select what should appear in the Lightbox. Once again select Data sources and select the Path option from the Folder List. Click OK.
Now fill all the remaining fields with your preferences and click OK.
The code for the Folder List Table with Lightbox should like somewhat like this:
<%
' *** Folder List Table Start
while MyFolderList.CanRepeat()
%>
<td><a href="<%= MyFolderList.Files("Path") %>" rel="dmxLightbox" title="My Title"><img src="<%= MyFolderList.Files("Thumbnail_name") %>" border="0" /></a> </td>
<% if MyFolderList.IsLastColumn() then %>
</tr>
<tr>
<%
end if
MyFolderList.MoveNext
wend
MyFolderList.EndRepeater
' *** Folder List Table End
%>
That's basically it. Preview the result on a live page and see what happens!
I'd really appreciate your feedback on your results! If you have any more questions just let me know!
Comments
Be the first to write a comment
You must me logged in to write a comment.