Hello,
I use Formidable Forms to create customer accounts and record certain data (address, phone, LOGO...) in meta fields.
I use E2PDF so that customers can generate different PDFs. I would like the clent's logo to be displayed on the PDFs it generates.
In the template, I use the Image object with the following value:
[e2pdf-user id="dynamic" key="pf_logo" meta="true" attachment_image_url="true" size="full"][e2pdf-wp key="post_author_id"][/e2pdf-user]
But the logo refuses to show itself on the PDF.
Can you help?
December 04, 2023 03:13:24
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,
Does the client's logo must be displayed on the other PDFs that were generated from the other form submissions?
Can you please create a simple "textarea" inside the E2Pdf Template and use shortcode as:
[e2pdf-user key="pf_logo" meta="true"]
What is the output?
December 11, 2023 01:46:26
Gderon
Topics: 4
Messages: 20
Hello,
As you suggested, I've created a tecte zone with the shortcode [e2pdf-user key="pf_logo" meta="true"].
It must return the "Image" URL. If yes - just use the shortcode inside the "Image" object.
December 11, 2023 02:04:41
Gderon
Topics: 4
Messages: 20
I forgot to specify something:
users create their own (unique) account and create custom posts via Formidable Forms.
The logo to be displayed is therefore that of the post's author.
December 11, 2023 02:09:35
Gderon
Topics: 4
Messages: 20
Using [e2pdf-user key="pf_logo" meta="true" attachment_image_url="true" size="full"] in the text area return URL.
But used in the image object, it returns nothing with Image Only checked, and returns the image URL when Image only is unchecked.
December 11, 2023 02:15:30
E2Pdf
Topics: 7
Messages: 3617
Support
It can happen due E2Pdf is unable to access the Image or the image can't be loaded. Can you let us know please which URL you get?
P.S. You can mark the message as "Private" so only support can see your message.
December 11, 2023 02:19:41
Gderon
Topics: 4
Messages: 20
That's it !!
I had indeed checked a file protection option in Formidable Forms.
Shame on me for not thinking of it.
Thank you very much for your help.
You can close this topic.
December 11, 2023 02:25:56
E2Pdf
Topics: 7
Messages: 3617
Support
Great to hear that it seems the issue was identified.
Just note:
Depending on your needs, if you are using the "file" image upload field in the form that must generate a PDF, you can also just use that Field ID as the "Image" object value. [e2pdf-user] shortcode will always get the actual user "logo" who submitted the entry and got the generated PDF URL.
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements.
By clicking "Accept Selected", you consent to use of selected cookies according to our
Cookie Policy.