Image not showing
-
Hi there,
I would imagine that this a recurring question buty not to me…
I have a repeater field set up that includes an image field.
The field name is shoot_photo and is st to return = Image URL
The code I have is:........$image = get_sub_field('shoot_photo'); ?> <li class="slide"> <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt'] ?>"> </li>
Why doesn’t this work please (I’ve tried a dozen variations of this code with & without the “Slide”class with no luck)?
I’m totally confused.
Paul
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Image not showing’ is closed to new replies.