Share » Forums » Setup & design » More image sizes (custom)

More image sizes (custom)

More image sizes (custom)

Tuesday 20 May 2003 2:40:04 am - 1 reply

Author Message

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=50
TinySizeHeight=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" );
}

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu