Feature Request: Add image rotation support to signed URLs (?rotate=90) #38765
Unanswered
mikesteinke
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
In my app, users can rotate uploaded images (0°, 90°, 180°, 270°).
I currently store the rotation degrees in the database and apply a client-side transform so images display correctly without modifying the underlying file. This works great for in-app usage.
However, I also need to generate external documents (e.g., reports via an API). For that, I require a direct image URL where the rotation is already applied. Right now, the only way is to pre-process and upload rotated copies, which adds complexity and storage overhead.
Proposal
Support an optional query string parameter like:
Where rotate accepts multiples of 90 degrees.
Benefits
Example Use Case
All reactions