Increase number of thumbnails

3 posts by 3 authors in: Forums > CMS Builder
Last Post: March 25, 2013   (RSS)

By aev - March 20, 2013

Hi,

totally agree, our experience is the same.

-aev-

By gregThomas - March 25, 2013

Hi Javed,

Sorry for the delay in reply.

This is something we will look into adding in a future release.

I've had a look at the CMS Builder core files, and unfortunately there isn't an easy way to add more thumbnail images without heavily modifying the current code. 

When I've come across this issue on a project, I use the closest larger thumbnail image size, and use CSS or HTML to resize it to the correct height, for example:

  <?php foreach ($blogRecord['uploads'] as $upload): ?>
    <img height="100" src="<?php echo $upload['thumbUrlPath']; ?>" alt="<?php echo $upload['info1']; ?>" />
  <?php endforeach ?>

By setting just the height, the ratio of the image will be correct, and by shrinking a larger image the quality will be kept. 

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com