Ideas for showing pictures in client

Hi!

We would like to show pictures (tiff) in sort of “preview” mode in notes client. That is, there is a attachement in document, user clicks the attachement or button and then the picture opens in the preview pane etc. Customers want to see picture and fill fields in form simultaneously, without switching to viewer or external program.

Any ideas?

Matti

Subject: Ideas for showing pictures in client

Hi Matti,

why not just import the picture into a RTF?

In fact, what we used to do at my last place was have a ‘Photo Library’ that could potentiall be accessed from other databases. We created a document per person that contained a full-size picture attached, that same full-size picture imported and a thumb-nail imported. The thumbnail was sufficiently small that it could be accessed by a @DbLookup from other databases without breaking the 64K limit, and it meant that those other databases weren’t carrying the overhead of storing pictures. That way the thumbnail was always visible in these other dbs, and if people wanted to view the full-size picture they could click on a button to open the picture document.

hth

Tony

Subject: Ideas for showing pictures in client

I have done something similar, but you also need to include the image to preview, eg cut and paste into a rich text field, then display the contents of the richtext field in a computed field in a layout region link this via a button from the view.

Maybe you could automate the creation of the images in the richtext field, but if they change often then this will be difficult to maintain, Does notes support (Tiff) when viewed, not sure it does.

The alternative would be to declare a dll in lotusscript to call an exteral viewer application or applett(java), although this could appear to be seamless, like when you use ole, or com, and pass the attachment to the cutom app to display it. This could be written in C++ or delphi, or VB or Java.

just a thought.

andy