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 symbol and am going no where while fixing it.
the code i have for the custom field is:
<?php if( get_field(‘repeater’) ): ?>
<?php while( has_sub_field(‘repeater’) ): ?>
<img src=”<?php the_sub_field(‘image’); ?>” />
<?php endwhile; ?>
<?php endif; ?>
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.