• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

No Image Box button appears under Prepare form in Acrobat Pro DC 2015

New Here ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Hi,

I need to create an image box on a document, such that a user can drag and drop an image onto the document.  I should be able to accomplish this by adding an image box, however, when opening the Prepare Form feature, I found that I don't have an image box option.  I know that I could just modify the Button feature for placing a perminant image on the document, but that doesn't allow user modification.  I'm using Acrobat Pro DC 2015 (perpetual license).  Is it possible for me to activate or acquire that option?  If not, is there another way to accomplish this?

Thanks much

 

TOPICS
How to , PDF forms

Views

619

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Interesting, I don't know when the image field was added to the forms toolbar.  But it is easy enough to fix. Add this code to the MouseUP event on a button field. The button layout (on the options tab, on the properties dialog) must be set to "Icon Only", and the appearance should be set to no fill color. 

 

event.target.buttonImportIcon();

 

Thats all there is to an image field. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

When you activated "Parpare Form", did you select "Document needs signatures"?  If so then you have an Adobe Sign form, which has different field options. 

If this is the case, then it is easy to switch back to a regular PDF form from the "More..." menu.

Acro_Sign2Form.jpg

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Much appreciated!

 

That did, in fact, give me different field options.  Unfortunately, image box was not one of them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

As per my view image box option is not available in Acrobat Pro DC 2015, but you can create a button field and add a JavaScript action to allow users to upload images dynamically. Actually I am not using acrobat pro nowadays because of blogging.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Been a while since I've written code, but I'll give it a shot and see what happens.  Either way, I appreciate your help. 

The sad part is that I was very happily using Acrobat 9 for years, until it crashed.  Getting Pro DC 2015 was supposed to be an upgrade that Adobe offered me, but there are a lot of features that I no longer have in this version.  I won't upgrade again since I can't get a perpedual license anymore and I don't believe in paying 30X the cost, or more (over time) to "rent" a piece of software that I used to be able to own.  (pardon my venting).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Interesting, I don't know when the image field was added to the forms toolbar.  But it is easy enough to fix. Add this code to the MouseUP event on a button field. The button layout (on the options tab, on the properties dialog) must be set to "Icon Only", and the appearance should be set to no fill color. 

 

event.target.buttonImportIcon();

 

Thats all there is to an image field. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

That gives me what I need.  Thanks much!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 23, 2024 Dec 23, 2024

Copy link to clipboard

Copied

I am trying to add an image field.  I saw previous posts about adding a mouseup button and adding this as an action, but I do not have an option to add it.  I attached the menu options I got. 

event.target.buttonImportIcon();

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2024 Dec 27, 2024

Copy link to clipboard

Copied

LATEST

Have you tried just using the Image Field? It includes all the needed code. 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines