Skip to main content
izhakp31336318
Participant
Dec 4, 2016 7:33 AM UTC
Question

Insert image to PDF form from server

Hello,

I want to insert image from my server by used in java script.

My option is:

send a url to text field and when the document will open the code generate the image.

Can anyone help where I write the code or another idea?

Best Regards,

Refael

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Joel Geraci
Community Expert
Community Expert
Dec 4, 2016 5:10 PM UTC

Is the image static or is it created on demand by the server?

Translate
izhakp31336318
Participant
Dec 5, 2016 7:05 AM UTC

The image is already in the server. I just want to insert it's to the form but in form i don't have a image filed.

I succeed to insert image's url to text filed.

Translate
Joel Geraci
Community Expert
Community Expert
Dec 5, 2016 8:39 PM UTC

There are a few methods but all involve creating an FDF or XFDF file on your server. You can either create a button field on your form and use the FDF to set the button face or you could use the image as the content of a stamp annotation and add that to the FDF. In either case, your document would call a server script that imports the FDF file.

Translate