Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image rotation? (feature request) #1596

Open
strider72 opened this issue Mar 5, 2019 · 3 comments
Open

Image rotation? (feature request) #1596

strider72 opened this issue Mar 5, 2019 · 3 comments

Comments

@strider72
Copy link

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

@maPer77
Copy link

maPer77 commented Apr 15, 2019

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]

@strider72
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants