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

Scale / Resolution #102

Open
Dobby89 opened this issue Feb 20, 2020 · 1 comment
Open

Scale / Resolution #102

Dobby89 opened this issue Feb 20, 2020 · 1 comment

Comments

@Dobby89
Copy link

Dobby89 commented Feb 20, 2020

I've noticed in the README notes there's no support for 1x or 2x sizes. Is this something which is on the roadmap?

It's not always practical to know the dimensions of an image ahead of time in order to explicitly set it's width at 0.5 scale, so passing the sizes in for every import doesn't scale if you have loads of images - especially if those images might be updated and then the width you've specified becomes incorrect.

@thescientist13
Copy link

thescientist13 commented Aug 11, 2020

Hello, was also curious about this.

Is this something the project would be open to supporting? Or taking as a contribution?

For our use case, this is coming from a Lighthouse report and this loader works great so far, and would just needs the 1x, 2x, etc to help us be fully compliant.

Thanks!

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

No branches or pull requests

2 participants