Scribus Forums

Scribus => Beginner Talk => Topic started by: marks_99 on April 22, 2019, 01:56:43 pm

Title: Import Image pdf Form, last step missing
Post by: marks_99 on April 22, 2019, 01:56:43 pm
Hello all,
I created a pdf form for my students. Now I need that it will be possible to include a picture of the student.
So far I found that you have to create a button and add this JavaSrcipt to it:

Code: [Select]
event.target.buttonImportIcon()
In the beginning it looked great and a dialog shows up where I can select a file. But after selecting the picture (I tried png and jpg) nothing happens an I cannot see the picture.

Is it possible at all? Would be great if someone can help me.

Markus