newkos
Chevereto Member
Hi, please help me
How to make the upload image is not cutting for creating thumbnail, but only decrease the size of picture for creating thumbnail.
In now script using resize by pixels, can we add resize by %, for example
now
need
Thanks for help
How to make the upload image is not cutting for creating thumbnail, but only decrease the size of picture for creating thumbnail.
In now script using resize by pixels, can we add resize by %, for example
now
Code:
$config['thumb_width'] = 100; // Thumb width in pixels - default: 100
$config['thumb_height'] = 90; // Thumb height in pixels - default: 90
need
Code:
$config['thumb_width'] = 20%; // Thumb width in pixels - default: 100
$config['thumb_height'] = auto; // Thumb height in pixels - default: 90
Thanks for help