Hey Damon,
Thanks for sharing that solution:
<?php if ($index >= 1) { continue; } // limit uploads shown ?>
I decided to try something it make this useful for CMS Editors. Here's what I did.
In a section editor called "News" I added a new Field Type "list" called "limit_uploads" and added the following List Options 1-12 a user can choose from in the list.
I then wrote this little snippet to use the limits chosen by the CMS editor in the snippet you provided for limiting uploads displayed via CMSB.
<?php foreach ($newsRecord['uploads'] as $index => $upload): ?>
<?php if ($newsRecord['limit_uploads']): ?>
<?php if ($index >= $newsRecord['limit_uploads']) { continue; } // limit uploads shown ?>
<?php endif; ?>
<img src="<?php echo htmlencode($upload['thumbUrlPath2']) ?>"/>
<?php endforeach ?>
Zicky