element-hq / element-hq/element-web

Save rotation from image viewer

Open
#18,794 4 comments 1 reaction 0 assignees View on GitHub
A-Media A-Timeline O-Uncommon S-Tolerable T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?
![image](https://user-images.githubusercontent.com/2803622/130986026-e0246788-ed39-42f2-a750-6624a773f943.png)

An image can be rotated in 90° steps in the image viewer. I would like element to (at least locally?) save the rotation.
The image should be rotated respectively when I close and open the viewer again. If possible, it should also be rotated in the timeline.

If further possible, I would like the ability for the sender to edit a `m.image` by adding a key `"rotation": "[0-359]"` to the info field which would save the rotation server side.

#### Why would you like to do it?
It's nicer

### Have you considered any alternatives?

_No response_

### Additional context

#10431

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.