• Joe

    (@catlikethief118)


    Hello,

    I am using Advance Custom Fields repeater feature for an image banner on the top of my secondary pages and i seem to be getting issues with the images displaying. I get that broken image link and am going no where while fixing it.

    the code i have for the custom field is:

    <div id=”images”>
    <?php if( get_field(‘repeater’) ): ?>

      <?php while( has_sub_field(‘repeater’) ): ?>

    • <img src=”<?php the_sub_field(‘image’); ?>” />
    • <?php endwhile; ?>

    <?php endif; ?>
    </div>

    and i get that wonderful broken icon when i view the page though the images seem to list fine on the backend. any help here would be appreciated!

  • The topic ‘Advance Custom Fields – Repeater’ is closed to new replies.