Display attachment (gif, jpg) in web

Hi All,

On the web, I have a page(view) which links to a document(form).

Inside the document(form) I would like to display mutiple attached images as a link so it will open up in a new browser.

On the web, the image is currently displaying the attributes(type, name) of the images.

Any help would be greatly appreciated!

Thanks.

Subject: display attachment (gif, jpg) in web

Try formula like this (just off top of head)

GIFLIST := @AttachmentNames;

“<a target="newwindow" href="” + @WebDbName + “/0/” + @Text(@DocumentUniqueID) + “/$FILE/” + GIFLIST + “">” + GIFLIST + “

Subject: RE: display attachment (gif, jpg) in web

The edit I made was to take out this line of code and the link will display with the image name.

  • @WebDbName + “/0/”

Correct me if I’m wrong but If I was to call a javascript from here to control the popup I would use a event handler in place of target and link the js to the form.

Thanks a million. Much appreciated.