Last image not showing

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 26, 2010   (RSS)

By darrylo - March 26, 2010

I'm using an image slider to display images and the last image doesn't show (although the slider indicates the correct number of images but the last one is blank.

http://afahomes.com/listing.php?144-Old-Post-Road-1

My code:
<div id="slider3">

<ul>

<?php foreach ($listingsRecord['uploads'] as $upload): ?><?php if ($upload['isImage']): ?>


<li style="background-image:url(<?php echo $upload['urlPath'] ?>)">


</li>
<?php endif ?>
<?php endforeach ?>
</ul>
</div>
Darryl
http://darrylo.com