I’ve been searching for some tutorial or something that helps me solve this issue, I’m developing a website where users place ads offering rooms and when they place an ad they have the possibility to add some photos. I want to resize and decrease some quality of the photos so they won’t become to big. The problem is sometimes users insert weird resolutions, so I want to do something like the css background-size: cover property does. Resize photo so the smaller side fit and crop the rest.
I’ve been searching for some tutorial or something that helps me solve this issue,
Share
The Image Moo library will do exactly what you want. Its quite powerful and very easy to use
Official website
CI Forum thread