Images from File share

We have a database we use as our employee information system it provides our HR with employee data plus includes the employee picture. We currently have to manually add the picture as a resource to notes in order to view the picture on the database (the employee number displays the correct picture) the pictures are on a network drive. My question is there anyway to tap into these pictures without having to manually add them? Do I have to create an agent that will automatically import/update the images? Are there any suggestions?

Subject: Images from File share

Is this an intranet solution? This is what I would do off the top of my head (translate: I ain’t tested it!!!)

"<img src="I:\Employee Images" + EmployeeNumber + “.gif">”

Where EmployeeNumber is the Employee-In-Question’s number.

Now, as long as all user’s have the I (for Images if you will) mapped on their systems this will go smoothly and not require you to import/export anything into Domino etc.

HTH,

-Chris

Subject: RE: Images from File share

I assume you are trying to do this through the Notes Client…

Yes you can create an agent to read an image directory and create a record/document for each file attached found (or attach the image to a current record/document). The thing to remember is that the server has to have the drives mapped as well in order to access them via an agent on the server.

It sounds like you currently have each picture numbered in some type of sequence 1,2,3 etc that would be unique enough to tie to an employee record.

I’m assuming you have some type of rich text field that holds the image. You’ll have to look at Notes help on Embedobject on how to attach the file to the richtext field on the employee document. This is a snipit from the notes help:

Set object = rtitem.EmbedObject ( EMBED_OBJECT, “”, _

“c:\notes\data\sample.bmp”, “” )

Not sure if this is what you are looking to do or not…

Regards,

Wendall