Image uploader + crop

2019-08-28 19:20发布

问题:

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.