Copy link to clipboard
Copied
How do I add an import image button field to a fillable form?
Copy link to clipboard
Copied
If it has to work with Reader, there is only a method to import from an existing PDF, but it's often easy to convert an image to PDF these days. Acrobat allows you to import from anything it knows how to convert to PDF, which includes the common image formats. You can use the following JavaScript in the Mouse Up event of a button that configured with a layout other than "Label only", usually "Icon only":
// Mouse Up script for a button
event.target.buttonImportIcon();
This is the bare essential, but you can expand on this so that the return value is checked for errors and provide a means to reset the button icon. Post again if you have any questions.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now