Codeigniter image library for automatic crop and/or resize of images