Image not mapping from ACF Image field

WordPress
March 19, 2020 17:15:06
Topics: 3
Messages: 10
Hi there,

I'm trying to map images from ACF image fields into the PDF but it keeps showing the attached image. The image files are hosted locally in the WordPress media library.
March 19, 2020 17:34:03
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

It looks like your ACF Image field is set to output Image ID instead URL.

To output such data you need to modify shortcode value to:

[meta key="image" attachment_image_url="true" size="full"]

More options can be found by this link: https://e2pdf.com/extensions/wordpress#meta_key

P.S. Keep in mind please that correct meta key from your screenshot is used on image object with output 4835.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 19, 2020 18:03:04
Topics: 3
Messages: 10
This is great! Thank you

Is there a way to adjust the size that the image shows? In the example you gave, it's pulling the full sized image. Is there a way I can all another size? Or perhaps set a size?

Not all of the images are exactly the same size so I'm finding that they are getting stretched and or squished
March 19, 2020 18:14:00
E2Pdf
Topics: 7
Messages: 3617
Support
You can try to set "Keep Dimension" checkbox on "Image" object or try to use "different" size attribute in shortcode, for example: size="thumbnail" (image will be cropped to fit 150x150).

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 19, 2020 19:25:53
Topics: 3
Messages: 10
Thank you! This worked perfectly!
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.