• Hi,

    I have a simple ACF repeater for Images.
    I want to only get and show the first image/row of this repeater.

    I have this..

    {% for item in item.get_field('product_images') %}
    {% set prodimage = TimberImage(item.product_image).src('thumbnail') %}
    <img src="{{prodimage}}">
    {% endfor %}

    And outputs the URLs for all my images. Been battling to figure out how I can only output the first image/row.
    I’m thinking just go back and set it in the php file?

    Any help would be great.
    Thanks.

    • This topic was modified 8 years, 1 month ago by mfos.

    The page I need help with: [log in to see the link]

The topic ‘First Image from ACF Repeater’ is closed to new replies.