plupload
plupload copied to clipboard
Image rotation? (feature request)
This was requested in the past ( #60 ) , and rejected due to browser limitations; but that was 9 years ago and browsers have advanced quite a bit, so I thought it was time for another go.
I would love if plupload allowed the user to rotate an image in 90-degree increments! I have a page that allows users to upload an image, that will display on the site; but if the image is rotated wrong it's currently up to them to rotate it in Photoshop or similar before uploading. These are non-techie users at a company, and I need to allow this ability upon upload
An idea for you: Rotate the image with css [example: transform: rotate (90deg);] in the preview of the user, send with the image the rotation value [example: 90] to the server, and do the real rotation on the server [with php is simple]
That's basically what I ended up doing. Took a bit of fiddling though - it would still be a nice thing to roll directly into Plupload. :-)
The difficulty with doing rotation separately is that I also want users to be able to crop. So now I'm integrating Plupload's cropping feature with hand-rolled rotation. As I said... lots of fiddling to make it work.