I've set up a repeater field for an image.
I can get the image to display fine but it's missing the following:
- Alt text
- Title text
- description
Also, is there a way to add a class/ ID and/ or height/ width?
This is what I'm using:
" />
<?php the_sub_field('member_details'); ?>
<?php endwhile; ?>
<?php endif; ?>
And the image field is set to call image URL.
Cheers.
I can get the image to display fine but it's missing the following:
- Alt text
- Title text
- description
Also, is there a way to add a class/ ID and/ or height/ width?
This is what I'm using:
<?php if(get_field('member')): ?>
<?php while(has_sub_field('member')): ?>
<?php the_sub_field('member_details'); ?>
<?php endwhile; ?>
<?php endif; ?>
And the image field is set to call image URL.
Cheers.