element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Save rotation from image viewer

Open HarHarLinks opened this issue 4 years ago • 3 comments

Your use case

What would you like to do?

image

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

HarHarLinks avatar Aug 26 '21 15:08 HarHarLinks

Interesting though I don't think it aligns with what many other apps do

SimonBrandner avatar Aug 26 '21 15:08 SimonBrandner

part of what I like about element and the matrix ecosystem is that/when it does things better than "many other apps" :)

HarHarLinks avatar Aug 27 '21 10:08 HarHarLinks

I also would love to see the image rotation being persisted locally in element-web. Is there a similar issue for element-android? I could not find one. I would love the image rotation functionality being added to element-android, too.

johnjohndoe avatar Sep 17 '22 11:09 johnjohndoe

It would be neat if the protocol allowed us to edit image events to include either different image data in the same position, or edit a json key like rotation that clients (may) apply when displaying.

HarHarLinks avatar Oct 01 '22 16:10 HarHarLinks