Link to home
Start Free TrialLog in
Avatar of sampa
sampa

asked on

Display an image in the form

I have a student registration form.I want to display the photograph of the student when the document is opened.
I am using Lotus Notes client.
The version for Domino is R5 release 5.0.6a
 I need to display the image along with the form
How do I associate it with the document.
Avatar of zvonko
zvonko

Is this for Web or for Notes client?
Which version of Domino?
Please delete the second submit of the same question to avoid confusion and to get refunded your points :-)
How are the images stored ? Are they stored as an image resource or are they part of the document ?
Please provide more info.
Create a rich text field and then import the image file into the document.

~Hemanth
Avatar of Richie_Simonetti
hearing...
what do you mean when u say u want to display the photograph of the student when the document is opened ????

the choice that Hemanth gives you is good to display the picture putting it in a rich text field abd displaying it in the person document, or you want to do something else ????

explain better to get your idea !!!

giusepe
Hello sampa,

I have a method presenting ImageResources computed on Formula basis into a Notes form.
So my question is now: where are this student pictures?
If you can import them as ImageResorces, then it would work. On open of such a student document would the coresponding student ImageResorce appear.

Regards,
zvonko
One more: I do not do it like Memo form does with computed background image.
With my method you can place your image on the form wherever you like :-)
Avatar of sampa

ASKER

I have managed to do it somehow by using this formula:
@Command([EditGotoField];"photo");
@Command( [EditInsertObject])
where photo is the name of my textfield.
I have put this formula on the click of a button.

This formula opens up the embedding box where i say insert from file.
WHat I want now is that on clicking on the button it should allow me to browse through the files and select it instead of selecting the right control(u know to make it more user freindly.
I hope I am clear with what I want.
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi, some one knows how to do it with Visual Basic? (only the part of image stuff and how to create a table and populate it).
Points are allowd with "Points for..." question.
Cheers
Richie,

your question is too short for me. I do not understand what exact is your need.
Nearly everything is with VB/LotusScript possible.

Wouldn't it be better idea to offer points and articulate exactly what your requirements are?

If nobody has an answer (that I do not believe) than you can delete your question and refund your points.

So long,
zvonko
I used this question because it was in vein... so i haven't wait to see if somebody answer me, that's all.
If somebody answer me here, i will post a "points..." question.
What i need is insert a picture FROM an image file stored in my hard disk.
I know that we could draw tables in notes document: how do it with VB and how populate cells?
I am not interested in LS, just plain VB.
Hope i was clear.
If you think that i must post a completely new question, just say so.
Cheers
It's always better to post a new question, that way you attract the attention of all experts, and not only the experts that participated in this question and left the notification on.
   ...and what is for you plain VB???