Fill Forms: How to fill an image form?

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Peter2
User
Posts: 946
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Fill Forms: How to fill an image form?

Post by Peter2 »

I know the way to fill forms with CSV, and this works fine. Now I'm looking for the next step:

Fill images dynamically


------
Situation:
The forms that I'm creating are for surveying, and every "Page" (every CSV row) has geographic coordinates for North and East. In another database-software, using VB script, I can defined "reports" which create a PDF output (a static one, not a form) with dynamic creation of an image, calling a WMS server.

It takes the coordinates, calculates an area and creates an URL to call a WMS-service with "point at North/East and image area = .."

With this database I create a CSV to fill my PDF forms with data.

-----
Question:
Is there an idea to fill also "image-form" with image-data from CSV?
I know that CSV can not store images, but it can store URLs as text. So I could fill some field in my forms with the URL. but I have to call the URL to create a dynamic image which has to be placed in the form.

Sounds not that easy - any ideas?

Thanks
Peter
PDF-X-Change Pro German
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Fill Forms: How to fill an image form?

Post by TrackerSupp-Daniel »

Hello, Peter2

At the moment that is not possible. If you were to do something like this you would need to haev a seaprate text field which users adding an image could manually enter the URL for the image independently from the image itself.
You may also wish to read over our form field information KB article. as it explains how "image fields" do not actually exist, instead we use special custom javascript with a button and force that button to "inherit" the image you select as its icon.
https://www.pdf-xchange.com/knowle ... -PDF-forms

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Peter2
User
Posts: 946
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Re: Fill Forms: How to fill an image form?

Post by Peter2 »

Thanks, Daniel.
PDF-X-Change Pro German
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Fill Forms: How to fill an image form?

Post by Tracker Supp-Stefan »

:)
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6829
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Fill Forms: How to fill an image form?

Post by Paul - Tracker Supp »

Hi Peter,

in the new build you can now do that. You just need to specify the full file name of the image in the input CSV file and it will work like in this video:

https://youtu.be/Vcx9Fi24MmE?t=208

enjoy!
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Post Reply