To many Images Showing up
5 posts by 3 authors in: Forums > CMS Builder
Last Post: June 6, 2011 (RSS)
By KCMedia - June 3, 2011
i have this page that has a gallery on it i have the limit set to 10 and it shows up more than 10 images why is this happening
www.hotlocks.net.au
file is also attached
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] To many Images Showing up
By rconring - June 3, 2011
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987
Re: [kcmedia] To many Images Showing up
By robin - June 3, 2011
This thread has an example for limiting the number of images that a record displays.
http://www.interactivetools.com/forum/gforum.cgi?post=87848#87848
Hope that helps,
Robin
Programmer
interactivetools.com
Re: [robin] To many Images Showing up
By KCMedia - June 3, 2011
i have made changes but still not working what is wrong the file is attached.
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] To many Images Showing up
By robin - June 6, 2011 - edited: June 6, 2011
I don't see any sign of the example code in the file you sent?
Here is a possible example to integrate with your $about_us images.
<?php $counter=0; ?>
<?php foreach ($about_usRecord['image'] as $upload): ?>
<?php $counter++; ?>
<?php if($counter > 20): ?>
<?php break; ?>
<?php endif; ?>
Hope that helps,
Robin
Programmer
interactivetools.com