hi guys,
i have a database of documents and on each document is an attached .gif file in the $File field.
does anyone know a way of showing that file as an in-line gif then viewing the doc via web browser.
i have this at the moment
“<img src=http://url/site.nsf/0/” + @Text(@DocumentUniqueID) + “>”+$File+“
”
being able to size it as 300 * 200 would be useful.
cheers
Tim
Subject: view attached file as thumb nail on web
Hello Tim. It’s been quite some time since I’ve done anything like this but, have you searched this forum? Also, I would search http://www.openntf.org for stuff that is graphics related.
Now, resizing the image should be fairly easy. Just use the width and height tags, e.g.:
![]()
…Jack
Subject: RE: view attached file as thumb nail on web
cracked it - thanks for the pointer
http://www.tim-healey.com and http://www.carlsson-motors.com
image file URL
“<img height=100 width=150 src=http://www.midas-development.com/web/timhealey/site.nsf/0/” + @Text(@DocumentUniqueID) + “/$File/” + @AttachmentNames +“>”
document link URL
“
<a href=http://www.midas-development.com/web/timhealey/site.nsf/0/” + @Text(@DocumentUniqueID) + “>”+ title+" - “+Description+”£ “+@Text(Price)+”
"