-
Notifications
You must be signed in to change notification settings - Fork 91
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
Responsive Images not working #82
Comments
Updated version got it working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm attempting to resize my images by using the inline
?resize&sizes[]=300&sizes[]=600&sizes[]=1000
tag but it doesn't appear to be working and my image isn't being resized.My require statement is
require(
../../images/portfolio/${folder}/${src}?resize&sizes[]=300&sizes[]=600&sizes[]=1000);
where ${folder} is just a folder name and ${src} is imagename.png.My test image is
2880 × 1576
so I know it should be being resized.I have responsive-loader and jimp installed via NPM.
From what I gather I should be getting an object which contains a
src
and asrcSet
but I simply get a String containing the image location.Am I doing something wrong? Thanks.
The text was updated successfully, but these errors were encountered: