Skip to main content
izhakp31336318
Participant
December 4, 2016
Question

Insert image to PDF form from server

  • December 4, 2016
  • 1 reply
  • 612 views

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 has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
December 4, 2016

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

izhakp31336318
Participant
December 5, 2016

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.

Joel Geraci
Community Expert
Community Expert
December 5, 2016

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.