Image mapping shows a NUMBER instead of IMAGE

22 November, 2019 10: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?
22 November, 2019 10:48:37
E2Pdf
Support
Topics: 7
Messages: 3163
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!
22 November, 2019 11: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?
22 November, 2019 11:09:08
E2Pdf
Support
Topics: 7
Messages: 3163
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!