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

fix: load original image for gifs #10252

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

michelheusschen
Copy link
Contributor

The server used to return the original image for gifs, but that's no longer the case after the recent changes to the asset endpoints. Fixes #10248 by returning a new originalMimeType property from the server, which is used to load the original image when it's a GIF. originalFileName cannot be used, because sanitized responses don't include that.

This also provides a better fix for #10145

Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM!

@alextran1502 alextran1502 merged commit a54e01e into main Jun 13, 2024
22 checks passed
@alextran1502 alextran1502 deleted the fix/load-original-image-for-gifs branch June 13, 2024 10:57
Copy link
Contributor

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change for mobile app as it makes it incompatible with previous server versions.

@Ador-able
Copy link
Contributor

mobile app The GIFs are still not playing properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gif doesn't play on Web
5 participants