Skip to main content
GrafiTec
Participant
December 31, 2016
Question

Show Automatically JPG Files when loading Icon in button

  • December 31, 2016
  • 2 replies
  • 473 views

Hello,

I have a question.

I Build a PDF form for a client. They need to insert many images into a PDF. I do this wit the event.target.buttonImportIcon(); function in a button. This works really great.

When the file browser opens when selecting a image, the browser (In windows or mac) shows at first only PDF files. Every time i select an image i need to change the file extension in the file browser from PDF to JPG to select an image. My client must making this step 50 times in a PDF, 450 times in a year. l

My question shortly:

Is there an option to show automatically the JPG files in the filebrowser when uploading a PDF?. See the image below.

Schermafbeelding%202016-12-31%20om%2013.21.52.png

This topic has been closed for replies.

2 replies

Inspiring
December 31, 2016

You can't make it default to JPEG, but you can use the technique discussed in the following thread to default to show all files: event.target.buttonImportIcon();

which often helps.

try67
Community Expert
Community Expert
December 31, 2016

No, it's not possible to change it.