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

Can't configure low-quality-image-placeholder / lqip? #135

Open
NullVoxPopuli opened this issue Aug 28, 2021 · 1 comment
Open

Can't configure low-quality-image-placeholder / lqip? #135

NullVoxPopuli opened this issue Aug 28, 2021 · 1 comment

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented Aug 28, 2021

I'm seeing this in the inspector

image

And I've tried this config:

    'responsive-image': {
      deviceWidths: [120, 320, 640, 750, 828, 1080, 1200, 1920, 2048, 3840],
      images: [
        {
          include: 'assets/images/**/*',
          widths: [2048, 1536, 1080, 750, 640, 320, 120],
          formats: ['webp'],
          lqip: {
            type: 'inline',
          },
          removeSource: true,
          justCopy: false,
        },
      ],
    },

in both environment.js and ember-cli-build.js
but when I load my page, no image placeholder exists in the HTML, and I have to wait for the big image to load before I see the image at all. 🤔

I expect a blurred-inline version of each of my images 🤔

Where I've been playing with configuration: NullVoxPopuli/website#60
Live: https://c28196cf.nullvoxpopuli-dot-com.pages.dev/
PageSpeedInsights: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fc28196cf.nullvoxpopuli-dot-com.pages.dev%2F (but there is a lot going on here)

@NullVoxPopuli
Copy link
Author

maybe related?
image

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

1 participant