Multiple File Uploads

Help Desk ›› How to ›› Multiple File Uploads
Formidable Forms
4 April, 2022 17:59:59
Topics: 2
Messages: 5
Hello,

I am testing the basic E2Pdf to see if it will work for our purpose. I am currently testing the multi-file Upload Feature and it works fine in Formidable Forms but when I try to display the image in my test PDF, I get some strange looking scribble outputted to the field - see attached: John Doe Membership Application test 1 - I set a .5px red border to highlight the Field in the bottom right corner of the page.

I have this in the Field > Properties > Value: [e2pdf-format-output explode=", " output="{0}"][307 size="full"][/e2pdf-format-output]
so I am expecting to see the first of my 3 test images: test-image.jpg

I have included the 3 test images here for reference.

Thank you,

Michael
4 April, 2022 22:02:03
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,

Do you use "Protect Files" option on the form, if so you need to modify shortcode to:

Show image and ignore "Protect Files" permissions:

[e2pdf-format-output explode=", " output="{0}"][307 size="full" decrypt="1" permission="1"][/e2pdf-format-output]

OR

Show image and check "Protect Files" permissions (will work if user which view PDF is in the group which has access):

[e2pdf-format-output explode=", " output="{0}"][307 size="full" decrypt="1"][/e2pdf-format-output]

If it still will not work, create please temporary "textarea" inside PDF, map it with shortcode [e2pdf-format-output explode=", " output="{0}"][307 size="full"][/e2pdf-format-output] and attach please PDF to next message so we can see which output generated by shortcode.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
4 April, 2022 23:17:23
Topics: 2
Messages: 5
Hello,

This option worked perfectly: [e2pdf-format-output explode=", " output="{0}"][307 size="full" decrypt="1" permission="1"][/e2pdf-format-output]

2 more things I am wanting to achive:

1) How can I make the image a link to the hi-res version?

2) What is the Action I should add to hide the image if it is blank?

Thank you very much.
5 April, 2022 00:21:53
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,

1. Do you wish to add URL so the user can click on it and navigate to image? If so, you can try to use "Link" object which must be placed over image with shortcodes as:

[e2pdf-format-output explode=", " output="{0}"][307 size="full"][/e2pdf-format-output]

* However Image can be opened only by logged-in user which is under the group which can see images due the using "Protect Files" option.

2. You do not need to add any "Actions". Image must not be showed by default if it doesn't exist inside entry (shortcode renders in empty value).

We remain at your service.
We would really appreciate your feedback at WordPress.org!
5 April, 2022 08:57:36
Topics: 2
Messages: 5
Thank you so much for your prompt replies and clear instructions.

You have answered all of my questions I have at this point.

I have a few more things to test but your plugin is working great and you offer great support!