Display imported image from metabox.io file field

July 24, 2024 05:07:57
eliodata
Topics: 19
Messages: 57
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
July 24, 2024 05:08:51
E2Pdf
Topics: 7
Messages: 3614
Support
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!
July 24, 2024 06:35:32
eliodata
Topics: 19
Messages: 57
Thank you for the quick help.
It renders the media id: 262614
July 24, 2024 06:54:39
E2Pdf
Topics: 7
Messages: 3614
Support
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!
July 24, 2024 07:02:34
eliodata
Topics: 19
Messages: 57
Perfect!
Thank you
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.