Welcome Guest, Not a member yet? Register   Sign In
Problem cropping image with image_lib library
#3

[eluser]luismartin[/eluser]
Thank you Aquary, I finally did it using "width" and "maintain_ratio", as you suggested.

This means the CI documentation is wrong in this line, since it says "width" is not available in the crop function:

Quote:All preferences listed in the table above are available for this function except these: rotation_angle, width, height, create_thumb, new_image.

http://ellislab.com/codeigniter/user-gui...e_lib.html

Someone should correct it.

Cheers!


Messages In This Thread
Problem cropping image with image_lib library - by El Forum - 02-16-2012, 04:24 PM
Problem cropping image with image_lib library - by El Forum - 02-17-2012, 12:47 AM
Problem cropping image with image_lib library - by El Forum - 02-20-2012, 08:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB