Image mapping shows a NUMBER instead of IMAGE

November 22, 2019 18:01:54
Baggio89
Topics: 2
Messages: 4
Hello,

I used the PDF Builder and chose --> object --> Image and mapped my image field (["qr_code"]) from ACF.
Instead of and IMAGE the rendered PDF shows a NUMBER. See attachment where the image field is showing 24.
I checked the return value of the mapped field and this actually returns the full image URL.

Is there something i am missing?
November 22, 2019 18:48:37
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

It looks like field has Attachment ID of image, instead URL. To convert it to "Attachment URL" try please to use one of shortcodes below as "Value" instead:

[meta key="qr_code" attachment_url="true"]

OR

[meta key="qr_code" attachment_image_url="true"]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
November 22, 2019 19:03:20
Baggio89
Topics: 2
Messages: 4
I love you man! Issue solved :) and again great appreciation for the quick response.
Is this info somewhere in the documentation?
November 22, 2019 19:09:08
E2Pdf
Topics: 7
Messages: 3617
Support
It's located under WordPress section: https://e2pdf.com/extensions/wordpress

P.S. We are working on rebuilding our documentation page in future to have it more easier to use.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
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.
© 2017 - 2026, https://e2pdf.com

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.