Jump to content
Sara M

Insert Picture into Form

Recommended Posts

Sara M

I'm building a form and the client wants to be able to insert a picture into the PDF from a file.  I thought perhaps the button tool would do this, but I can't figure out how to make it work!  Any ideas?

Share this post

Link to post
Share on other sites
Steven Zakulec

It looks like the answer involves some Javascript.

It can be done using a button.

Make your button or go to an existing button.

Go to properties for the button.

Make sure under Options you are set to either Icon only or one of the other options with Icon.  Otherwise you won't see whatever picture you choose.

Under Actions, you want the Trigger to be Mouse Up, and the action to be Run a Javascript.

Paste this into the window that pops up: event.target.buttonImportIcon();

Click OK, then click Close.

Go to the Home tab and click on the hand, then click on your button.

A file dialogue will pop up- the import window defaults to showing PDFs only, but you can change that by clicking where it says PDF Files (*.pdf) and choosing a different option from the drop down.

Double click on your file and you'll see the file on the button.

If this isn't what you're looking for exactly, you'll probably want to search online for it, and use the Javascript suggested.

Good luck!




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.