Hi Jan,
Jan-gxplus When I place an ‘Add an image’ field in Acrobat, in the resulting pdf an outlined box
If you add a stroke round the button in InDesign that should give you an outlined box.
Just place a graphic in InDesign with that icon (or something similar), and turn the graphic into a button in InDesign. You can save the graphic somewhere convenient, or in the snippets collection of an InDesign library for quick access. (In fact, I would recommend saving the entire "add an image" button as a library item, that way you won't need to keep adding the 1-line script in FormMaker.
Jan-gxplus Also, when I import an image into the pdf field it will not be scaled but placed @ 100%. When I use the Acrobat version of the field any imported image will be scaled to fit.
This is a good point. I will try to fix this in an update. Meanwhile, add another line to the mouse-up script, so that the complete script looks as follows:
event.target.buttonImportIcon();
event.target.buttonScaleWhen = scaleWhen.always;
Does that help?