views:

548

answers:

2

Anyone know of a Flash file (image) uploader that will force a user to resize and/or crop their image BEFORE uploading it? To then upload it as well.

Basically, I don't want my server processing the image resize/crop. I want to specify a target aspect ratio and have the user resize and crop their image to make it fit.

I've seen cropping uploaders before but they all seem to be server side. I saw a Flex one but I'm not sure it's "mandatory" -- Basically if the user just uploads the image without making edits, then I'd like the Flash to scale and fit the image into set dimensions...Leaving it I guess short in one direction to not stretch.

Anything like this out there? Thanks!

+1  A: 

I have a bounty running with a very similar question, be sure to take a peek - there isn't anything there yet that does client side resizing, though.

Also, SWFUpload is said to support it in the new Beta, but the feature is very sparsely documented right now. You would probably have to work on it to get it running the way you want.

Pekka
LinkedIn is probably a real good example of what I'm after. I'll check out SWFUpload again, I went there today and didn't see the feature jumping out at me. The Flex tool I found: http://blog.mediablur.com/2008/02/20/flex-image-cropping-component/ - close but I think I'd have to get my hands dirtier than I'd like.
Tom
Must be this that you're talking about: http://demo.swfupload.org/v250beta1/resizedemo/index.phpEh, yea. I can live with that. But bonus points to being able to crop the image. Plus this apparently says to resize on client side...but I'm guessing it uploads it too then downloads back? Sounds a little silly, what if the user wanted to reject the photo? Why even bother showing the user a preview of the resized image?
Tom
Well, client side resizing is what you're after, isn't it? Cropping is a different thing, yes... I don't know of any combined cropper and client side resizer yet, although it should be perfectly possible. Maybe something turns up in the bounty, we'll see.
Pekka
yea, i'll live w/o the resizing for now. when i get time in a few months i'll whip something up in actionscript to do this. i just figured by 2010 there'd have to be a few dozen (free or even pay) versions by now. i'll watch your question.
Tom