[PR #11700] feat(server): crop and rotate #13324

Closed
opened 2026-02-05 15:12:47 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/11700

State: closed
Merged: No


This PR adds support for using the Orientation EXIF field from the sidecar (which can be modified without touching the original file).

It also adds two actions to the web viewer that "demo" that feature:
image

Issues:

  • the web viewer displays images in two ways: as thumbnails, and through the zooming component. The zooming component doesn't seem to take the EXIF orientation in account, so the image displays in its "raw" orientation when one zooms.
    • people on the Discord server have suggested to also render the "edited" version of the original image, in original resolution. This would mean images with EXIF orientation would have an original resolution "thumbnail" render that would be used for viewing. This would make it easy to display images without having to constantly process the rotation client-side.
  • after changing the rotation, the thumbnail needs to be refreshed. This is currently done by triggering a thumbnail regeneration task and refreshing the img tag's source field after 500 milliseconds.
**Original Pull Request:** https://github.com/immich-app/immich/pull/11700 **State:** closed **Merged:** No --- This PR adds support for using the Orientation EXIF field from the sidecar (which can be modified without touching the original file). It also adds two actions to the web viewer that "demo" that feature: ![image](https://github.com/user-attachments/assets/13b49b2e-ba69-4974-85c9-bf98579f710e) Issues: - the web viewer displays images in two ways: as thumbnails, and through the zooming component. The zooming component doesn't seem to take the EXIF orientation in account, so the image displays in its "raw" orientation when one zooms. - people on the Discord server have suggested to also render the "edited" version of the original image, in original resolution. This would mean images with EXIF orientation would have an original resolution "thumbnail" render that would be used for viewing. This would make it easy to display images without having to constantly process the rotation client-side. - after changing the rotation, the thumbnail needs to be refreshed. This is currently done by triggering a thumbnail regeneration task and refreshing the `img` tag's source field after 500 milliseconds.
OVERLORD added the pull-request label 2026-02-05 15:12:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#13324