Welcome Guest, Not a member yet? Register   Sign In
Image cropping challenge
#1

[eluser]KeyStroke[/eluser]
Hi,

Here's the challenge I'm facing:
I have a 240x145 pixels thumbnail size for pictures uploaded to my site. I need to crop an uploaded image from the center, and the resulting image's aspect ratio should match my thumbnail's aspect ratio, so that, when the image gets resized while maintaining its aspect ratio, it will fit EXACTLY my thumbnail size.

What I've tried so far:
- using a jquery plugin that lets the user which part of the image should be displayed in thumbnails, but that was too complicated for my users.
- Coded a script that does what I'm trying to achieve, but for square images only.

Note that this functionality will be part of a CI photo library I'm releasing soon, so your contribution will help everyone here. Smile

Your help is much appreciated


Messages In This Thread
Image cropping challenge - by El Forum - 02-14-2009, 08:40 AM
Image cropping challenge - by El Forum - 02-14-2009, 10:11 AM
Image cropping challenge - by El Forum - 02-14-2009, 10:11 AM
Image cropping challenge - by El Forum - 02-14-2009, 10:14 AM
Image cropping challenge - by El Forum - 02-14-2009, 10:21 AM
Image cropping challenge - by El Forum - 02-15-2009, 10:09 AM
Image cropping challenge - by El Forum - 02-15-2009, 10:26 AM
Image cropping challenge - by El Forum - 02-16-2009, 12:22 AM
Image cropping challenge - by El Forum - 02-16-2009, 12:27 AM
Image cropping challenge - by El Forum - 02-16-2009, 12:32 AM
Image cropping challenge - by El Forum - 02-16-2009, 12:44 AM
Image cropping challenge - by El Forum - 02-16-2009, 12:46 AM
Image cropping challenge - by El Forum - 02-22-2009, 08:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB