Inline Images inside ACF Repeater

WordPress Released
March 12, 2025 12:50:50
wdd
Topics: 3
Messages: 9
Hi there,

I am able to insert a dynamic image in a HTML box, and type content next to it (Image 1) with the following code:

<img src='[acf field="dossier_logo_icon" post_id="option" meta="true" attachment_image_url="true" size="full"]' width='16px' height='auto'/>Hello World</br>

However the minute I put it within an ACF repeater is doesn't show.
[e2pdf-acf-repeater field="holiday_price_included_options" post_id="option"]
<img src='[acf field="dossier_logo_icon" post_id="option" meta="true" attachment_image_url="true" size="full"]' width='16px' height='16px'/>[acf field="text"]
[/e2pdf-acf-repeater]

I have even tried to create a table format to work around this but no luck either.
<table>
[e2pdf-acf-repeater field="holiday_price_included_options" post_id="option"]
<tr>
<td width="30px" style="height: 30px; vertical-align: top;"><img src='[acf field="dossier_logo_icon" post_id="option" meta="true" attachment_image_url="true" size="full"]' width='16px' height='16px'/></td>
<td>[acf field="text"]</td>
</tr>
[/e2pdf-acf-repeater]
</table>

Image attached of what I am trying to do. (Image 2)
March 12, 2025 14:20:11
E2Pdf
Topics: 7
Messages: 3614
Support
Hello,

It seems the issue is related to using a non-repeater field within an ACF repeater loop. We are currently investigating a possible solution and will notify you shortly once we have an update.

We would really appreciate your feedback at WordPress.org!
March 12, 2025 14:55:06
wdd
Topics: 3
Messages: 9
Ah! Thank you so much.

Are you working on a specific timeline?

Thanks
Suzie
March 12, 2025 14:56:31
E2Pdf
Topics: 7
Messages: 3614
Support
Please, try updating the plugin to the latest RC version (1.27.19): https://e2pdf.com/docs/install#rc-version and add the repeater="false" attribute to your image ACF field shortcode as follows:

[acf field="dossier_logo_icon" post_id="option" repeater="false"]

* It should prevent it from being requested as a "sub-field"

We would really appreciate your feedback at WordPress.org!
March 13, 2025 05:43:58
wdd
Topics: 3
Messages: 9
Hi there,

Thanks so much that has done the trick!

Thanks
Suzie
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.