Upload, crop and resize images |
I need to upload, crop and resize images for Avatar and Logos, but cannot find any good code for CI.
I'm loking for something where users can drag a square over uploaded image to crop the area they want to use. Anyone here who have code for this ... Or know where I can find it?
Please read
Image manipulation library - http://www.codeigniter.com/user_guide/li...e_lib.html File upload library - http://www.codeigniter.com/user_guide/li...ading.html You need just to combine them. I personally will make a sample model : Model_Images which will cover all possible manipulations over images and I will call it on successfull upload. Best VPS Hosting : Digital Ocean
Thanks, I'll give it a try and will also use http://odyniec.net/projects/imgareaselect/ so users can select an area to crop, should work fine ... I hope :-)
/Stefan (12-07-2014, 02:10 PM)sv3tli0 Wrote: Please read |
Welcome Guest, Not a member yet? Register Sign In |