Tuesday, December 29, 2009

Awesome script for image cropping

We've been looking for a better way of image cropping avatar photos for the new http://www.livefootballchat.com/ website.

Basically at the moment users just upload any photos and we resize it to the 60x60 image you see on the site currently.

Dave just found this awesome script for image cropping - http://deepliquid.com/projects/Jcrop/demos.php?demo=thumbnail

As you can see in the example below we have the two "fixed size" images that allow the viewer to see what their avatar will look like (the smaller 60x60 is used on the chat pages and the 90x90 is used on the profile popup).

The user can select the "location" they want to use and the quasi "zoom" is handled by them dropping and dragging the selector box.

Really pretty easy actually.

We'll be rolling this out to all of the http://www.livefanchat.com/ sites over the next few days after some further testing but if you find it useful be sure to thank the original developer.


No comments:

Post a Comment