plupload icon indicating copy to clipboard operation
plupload copied to clipboard

Image rotation? (feature request)

Open strider72 opened this issue 5 years ago • 3 comments

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

strider72 avatar Mar 05 '19 16:03 strider72

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]

maPer77 avatar Apr 15 '19 20:04 maPer77

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. :-)

strider72 avatar May 08 '19 21:05 strider72

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.

strider72 avatar May 14 '19 23:05 strider72