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

Scalable image preview for room avatars and profile images #474

Closed
wants to merge 2 commits into from
Closed

Scalable image preview for room avatars and profile images #474

wants to merge 2 commits into from

Conversation

Bnyro
Copy link
Contributor

@Bnyro Bnyro commented Jul 27, 2023

Hey,
this PR adds scalable (/zoomable) previews of room avatars and profile images, similar to how it's already possible for normal images that are sent in chats.
The image viewer can be found when clicking on a profile image in the user bottom sheet or when tapping the room avatar in the chat details.

Concerning the implementation: I had the feeling that the preview would share too much code with the existing ImageViewer for Matrix events containing images, thus they're currently both using the same component.
It'd be possible to create a new separate ImageViewer component only, but I'm not sure if the boilerplate code would be worth it.

And sorry for all the reformatting caused by the changes, unfortunately that seems to be necessary for the CI to pass.

@Bnyro
Copy link
Contributor Author

Bnyro commented Nov 6, 2023

No interest in continuing work on this.

@Bnyro Bnyro closed this Nov 6, 2023
@Bnyro Bnyro deleted the profile-image-preview branch November 6, 2023 10:24
@basings basings mentioned this pull request Jan 23, 2024
@Henry-Hiles Henry-Hiles mentioned this pull request Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant