I'm running a web application built on Seam. I would like to have an image upload + crop component.Preferably on client side, so the image uploaded to the server would be the result of the crop. I read this can be made with Flash 10. I was thinking flex is also a possibility. Does anyone has good hints to give me, what component to choose or what is the best way to connect the backing bean I have with the flash/flex? Thank you!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
A search for Flash uploaders shows many:
From the StackOverflow thread here:
- Flex Component
- Building an image-viewing widget with ActionScript 3.0
- Another
- DeepLiquid
- MediaBlur
From the StackOverflow thread here
- ResizeBeforeUpload
- AdLevy
From Google:
- element-it
- Sephiroth
Check those SO threads.
If you were not bound by Flash, I would recommend using Javascript instead.
In Mootools:
- Crop with the images with CwCrop
- Upload with fancyupload.