Create an image library, with thumbnail views for the Web.
For the view to work, you must create a form with a rich text field to hold your thumbnail image. The code that follows can go either into a column in your view for the Web or, more efficiently, into a hidden field on your form.
It will pull the thumbnail image from your form and make it a clickable link in the view, assuming your thumbnail Rich Text Field is called 'Thumbnail'.
"[<a href = /database.nsf/webview/"+@Text(@DocumentUniqueID) +"?OpenDocument><img src=/database.nsf/webview/"+@Text (@DocumentUniqueID)+"/Thumbnail/0.70?OpenElement&FieldElemFormat=gif border = 0></a>]"
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in August 2001