To view them as thumbnails, the following seems to work both in computed text
fields and view columns.
for view columns I used one column per attachment (the only way I could get it
not to fail with non-gif/jpg files), with a sequential number 1 through however
many you want to show.
I started with the formula from the Roundtable application
http://roundtableweb.com (freeware version).
For the form, I made the non-gif/jpg's null, together with the stuff from this
article.
Your article was very helpful.
To view them as thumbnails, the following seems to work both in computed text fields and view columns.
for view columns I used one column per attachment (the only way I could get it not to fail with non-gif/jpg files), with a sequential number 1 through however many you want to show.
I started with the formula from the Roundtable application http://roundtableweb.com (freeware version).
For the form, I made the non-gif/jpg's null, together with the stuff from this article.
Seems to work so far. . .
--Dan
SelectedFile:=@Word(@Implode(@AttachmentNames); " ";SEQUENTIALNUMBERHERE); ANames:=@ReplaceSubstring(SelectedFile;" ";"+"); ANames2:=@ReplaceSubstring(SelectedFile;" ";"_"); DBName := @ReplaceSubstring(@ReplaceSubstring(@Subset(@DbName; -1);" ";"+");"\\";"/"); open:="?OpenElement"; view:=@ReplaceSubstring(@ReplaceSubstring(@Subset(@ViewTitle; 1);" ";"+");"\\";"/"); docid:=@Text(@DocumentUniqueID); url:="[<a href=/"+dbname+"/"+view+"/"+docid+"/$FILE/"+ANames+"><img src=/"+dbname+"/"+view+"/"+docid+"/$FILE/"+ANames+" WIDTH=100 HEIGHT=66 border=2 ALT="+ANames2+"></a>]"; url2:="[<a href=/"+dbname+"/"+view+"/"+docid+"/$FILE/"+ANames+"><img src=/icons/vwicn005.gif border=0 ALT="+ANames2+"></a>]"; @If(SelectedFile = NULL;NULL; @Ends (@LowerCase(SelectedFile) ; "gif" ) ; url; @Ends (@LowerCase(SelectedFile) ; "jpg" ) ; url; url2)