A better way to upload images? close

Aidan Kane
In Site Launches, Apps
21st July 2011

In creating the new 4Music site recently we ran into the age old problem of how to best crop uploaded images. Traditional cropping tools tend to be clunky, especially when you need to crop a single image in different ways as we did.

We hit upon the idea of just allowing editors to pick a focal point on the image and having some clever little bits of mathematics sort out all of the details.

It worked incredibly well for the 4Music project so it's a technique that we plan on using on all of our sites in the future. When we get a bit of spare time we are going to release the source code so that others can make use of it in their projects too.

Check out the video to see it in action.