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

Use High-DPI emote images when available #10

Closed
noodlebox opened this issue Nov 16, 2016 · 0 comments
Closed

Use High-DPI emote images when available #10

noodlebox opened this issue Nov 16, 2016 · 0 comments
Labels
Milestone

Comments

@noodlebox
Copy link
Owner

Use srcset to specify 2x- and 4x-scale versions of emote images when available. Twitch emotes always have larger versions available, scaling up smaller emotes when necessary. Larger versions of FFZ emotes return 404 when not available, so checking the API data first will be necessary.

A less elegant alternative would be to attempt loading the largest size first for any emote, falling back to the default size on error.

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

No branches or pull requests

1 participant