Automatic Resize/Crop Image - CI

/ Published in: PHP
Save to your folder(s)

I know this code isn't perfect (and there's a spot where it kind of repeats itself), but I figured I'd share anyway.

NOTE: This code assumes that you are programming in CodeIgniter and you have uploaded a file and posted to a Controller which then contains this chunk of code.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.