Re: [codeigniter] The resize function doesn't work properly

Posted 05 February 2013 - 12:43 PM

The sizes provided are the limits to decide on which side to calculate the resize.

In example the source image is 200x80, the function should see that the side which exceeds the dimensions is the height and then it should calculate the new sizes according to the height maintaing the aspect ratio, it doesn't have to create a 300x70 image (in the code I made a mistake, the $config['height'] is 70, not 80)