Attaching Photo's to a .PDF file

I have set up an interactive form in Acrobat 7 Pro, is it possible to insert a button that the user can click on which will enable them to attach a photo to the .pdf file?

If so, then how would I do this?

Also is it possible to display a thumbnail of this photo inside the .PDF file?

Regards

Wayne
WayneGuptillAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FunkmotorCommented:
The only way to dynamically pop a photo into an Acrobat form is to put it onto a button.  Really.

I have a sample of this at home, and I'll post it up tonight.
FunkmotorCommented:
Okay.  Put a button onto your form, and then double-click it (with the editing arrow tool).

Go to the "Options" tab, and choose "Icon only" in the first dropdown.

Then go to the "Actions" tab.  In the first dropdown select "Mouse Up" and in the second, choose "Run a JavaScript".

Click the "Add" button, and you'll get a big window.  Paste this into it:
     event.target.buttonImportIcon();

Now when you click the button (in normal viewing mode - hand tool selected), you'll get a dialog to import a graphic and there you go.  The graphic becomes the icon for the button.  So there's the thumbnail, too.

At this point, it should be obvious that the size of the button determines the size of the picture in the form.

Now, this only works in Acrobat *Pro*.  Not in Standard, and certainly not in Reader.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WayneGuptillAuthor Commented:
Thanks Funkmotor your answer was perfect and easy to follow :D However, I think my question may have been wrong :D After inserting the picture inside the .PDF file I then need to be able to extract the picture from the .PDF file as it is part of the data I am collecting.

Regards

Wayne
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Acrobat

From novice to tech pro — start learning today.