adding an image field in a form

My client wants me to create a pdf form with an image field area, so an image can be added to it, all via acrobat reader.

Dave Hall

8 Answers

Voted Best Answer

Brief instructions to speed things along for you:

- Open up the Content Panel via Tools > Content Panel
- Using the 'Add a button' tool draw a button to the size the image field needs to be
- Double click the button to enter into the button's properties
- Go to the Actions tab
- Next to Select Action choose 'Run a JavaScript'
- Click Add
- Copy & Paste the following JavaScript in the window:;

- OK
- Go to the Options tab
- Under Layout choose 'Icon Only'
- Investigate any other options you need then..
- Close

Test using the Selection Tool (black arrow tool). Note that when browsing for the image you are not restructed to PDF's as you can change the file type in the lower right to say JPEG or PNG etc

By Stephen Phillips   

If you mean the free Adobe Reader (there's no such product as Acrobat Reader) it's only possible if the users use Reader XI and the image they want to import is in PDF format.

Otherwise you will need to use a LiveCycle form.

Visit my custom-made PDF scripts website:
Contact me personally:

Gilad D (try67)   

If you're using LIveCycle Designer to create your form you can insert an image field. If you have Acrobat XI you can use the new buttonImportIcon JavaScript method. Both are supported by Adobe Reader.

Stephen Phillips   

Thanks for your quick response guys, appreciated. I'm working on X1 the buttonImportIcon JavaScript sounds like a good idea, as no doubt my clients people will not have the latest version of acrobat, so I think my best option will be create a pdf form and email the pdf & image back to my client thanks for your help.

Dave Hall   

First of all, thnaks for the answers, I needed the exact same info !
But i still have a huge problem, once i extend de rights so that "reader" users can use the form, the button doesn't work anymore.
I couldn't find a way to make the button work for acrobat reader.
Any idea on how i could fix that ?




I actually have one more question. This method worked great, but once my client recieves the PDF the button opens so they can search the computer for an image, but it will only let them select other PDF files. Is there a way that will allow the user to place JPEG files?

I know this thread is very old I hope I can still get some sort of responds...


Dustin Hood   

I followed the instruction and I had the brows window, I added the picture, but still does not appear

any ideas?

Salam SALLOUM   

This javascript doesn't work to import JPEG or PNG. How do you import those images into the field?

Kelly Piller   

Please specify a reason: