Forums / Setup & design / More image sizes (custom)
John van der Boom
Tuesday 20 May 2003 2:40:04 am
Hello,
I want to have more then 3 image sizes (small, medium and large). I don't want to change the size of the ones I used now (small, medium and large) but make an new image size.
How can I make a custom size, like gallerysize?Thank you for you help.
Pawel Frukacz
Thursday 22 May 2003 2:56:45 am
Hello, You need to add following lines to site.ini to ImageSettings section: e.g. TinySizeWidth=50TinySizeHeight=50
In addition to that add in kernel/classes/datatypes/ezimage/ezimage.php to attribute function: case 'tiny': /added case 'small': and if ( $attr == "tiny" ) {$width = $ini->variable( "ImageSettings" , "TinySizeWidth" ); $height = $ini->variable( "ImageSettings" , "TinySizeHeight" ); }