Attach image as inline with LotusScript

I need to be able to attach an image using a back end LotusScript agent which essentially makes the image inline. This will enable to the image to be viewed rather than the file icon. This is basically mimicing the copy-paste function of a rich text field which displays the image rather than the file.

Any ideas?

Subject: Attach image as inline with LotusScript

I use the following LS-code:

imgfile = “path to the image file”

Call uidoc.GotoField(“picture”)

Call uidoc.Import(“JPEG image”, imgfile)

Kill imgfile

Subject: If you don’t mind a third party solution, take a look at “Import Image 2 Lotus Notes” …

II2LN is a DLL which you program via LotusScript, and it allows you to import, attach and process images, Check out Voith's CODE :: Import Image 2 Lotus Notes

Bob, Author of II2LN

Subject: Attach image as inline with LotusScript

You could do it by transforming some DXL.