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

masonry widget: Responsive images/proper image sizes #549

Open
strarsis opened this issue Aug 31, 2017 · 1 comment
Open

masonry widget: Responsive images/proper image sizes #549

strarsis opened this issue Aug 31, 2017 · 1 comment

Comments

@strarsis
Copy link

strarsis commented Aug 31, 2017

Currently the masonry widget uses images in full size or very large size, much larger than necessary.
This dramatically increases bandwidth usage and load time and
the images also first jump around while rearranging.

Ideally the JavaScript for masonry determines the right/roughly right size and
provides it in sizes-attribute so the browser can pick the right image file
(srcset already provided by WordPress).

@matthiaswagnerwy
Copy link

maybe you could provide a quick fix with a filter for the image size in the template file? so we could at least define the size in our own functions.php?

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

No branches or pull requests

3 participants