[eluser]ludo31[/eluser]
Hello ;
I would like to know ho to fix the dimension of image , I need it for a zoom on thumbnails ; I mean I need for all thumbs that they are (90 x 90 )
I try to create code like this :
Code:
$config['image_library'] = 'gd2';
$config['source_image'] = $source;
$config['new_image'] = './image/thumbs/';
$config['create_thumb'] = TRUE;
$config['thumb_marker']='';
$config['maintain_ratio'] = TRUE;
$config['width'] = 90;
$config['height'] = 90;
$this->load->library('image_lib', $config);
but when I upload images , for example : there are images when dimensions are 90x90 and there are where 90x85 is it possible to fix it 90x90 without modifying the quality of image
if not how to solve this probleme ???
thanks !!