Documents >> Developent & Code >> CMSMS Larger Thumbnails


CMSMS Larger Thumbnails
C#, Threadded Form Write
CMSMS Image DropDownBox

CMS Made Simple larger Thumbnails in Albums

How I made the larger thumbnails in my galleries.

Edit the following file ind your cmsms dir:


In this file, you edit the thumbnail dimensions.

Thumbnail dimensions.*/

$IMConfig['thumbnail_width'] = 96;
$IMConfig['thumbnail_height'] = 96;


I use the following setting.

Thumbnail dimensions.*/

$IMConfig['thumbnail_width'] = 150;
$IMConfig['thumbnail_height'] = 150;


To make thumbnail appear larger in the albums, I also edited the following file, to get the autothumbnailsize function to return a larger value.

I editied the following in the follwing file:


if ($picture->thumbnailheight > 100)
     $picture->autothumbnailsize = 'height="100"';
     $picture->autothumbnailsize = ' height="'.$picture->thumbnailheight.'"';

A thing to notice.... When you change the size of thumbnails, remember to readd the images to your albums, since it stores the dimensions of the thumbnails to be used when displaying them. (I used quite some time debugging on this.)

^ Top | Copyright © 2007| css | xhtml