Putting a GIF file into a Notes database

I have notice the following code when I view the source of Lotus.net.
IMG SRC="/files.nsf/lookup/search2/$file/search2.gif"
My question is how does one put a GIF file into a notes database so that the gif file can be accessed as an Image Source?  I have tried pasting a gif file into a webpage and using that as the image source, but that does not seem to work.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

u have to create a firm with an RTF field to handle the attachment of the pic files. (Its similar to the technique used in an obsolete product called Domino.Action from Lots).  You the must create a view that will display those form with the attachments (one doc per file), sort the first column (or lookup would fail).
Now u can use the syntax above like Lotus did:
"<IMG SRC= "/db.nsf/theview/columnvalue/$File/filename"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris_mAuthor Commented:
How does one get the gif file into the Rich text field
I think the best suggestion is to create a form with 2 fields, one normal, that stores a reasonable name for the file, the other an RTF. u must create a new doc, then u can use drag and drop to attach the file from; ie windows explorer. Or u can click a button with this formula:
@Command([EditGotoField] ; fieldName );
@Command( [EditInsertFileAttachment] )
This will display the dialog box for selecting a file.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.