Display imported image from metabox.io file field

24 July, 2024 05:07:57
eliodata
Topics: 16
Messages: 49
Hi,

I'm trying to display an image into a pdf template. I use the e2pdf-image object with this shortcode:
[e2pdf-wc-order key="fsbdd_emargements" meta="true"]
"fsbdd_emargements" is the metabox.io file field ID.

Best regards
24 July, 2024 05:08:51
E2Pdf
Support
Topics: 7
Messages: 3335
Hello,

Can you please map the shortcode to the "textarea" and let us know which output do you get while PDF export?
We would really appreciate your feedback at WordPress.org!
24 July, 2024 06:35:32
eliodata
Topics: 16
Messages: 49
Thank you for the quick help.
It renders the media id: 262614
24 July, 2024 06:54:39
E2Pdf
Support
Topics: 7
Messages: 3335
The shortcode below should do the job:

[e2pdf-wc-order key="fsbdd_emargements" meta="true" attachment_image_url="true" size="full"]
We would really appreciate your feedback at WordPress.org!
24 July, 2024 07:02:34
eliodata
Topics: 16
Messages: 49
Perfect!
Thank you