Closed SteJW closed 1 year ago
Any ideas?
If glide_width
parameter works then use that for now. But yeah this looks like a bug. Not much else I can say without looking at this in depth, don't have much time on me right now.
Ok, thanks!
Hey, try out v4.1.0 - should be fixed.
Yes, thank you! It worked perfectly.
Bug description
When I add a width to a GQL call, it basically does nothing. I still get all image sizes. When I need an of maximum 500px, it will still render everything with images of 1920px and more.
How to reproduce
Add an image, try the GQL call and you'll see it doesn't change anything.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
regex (default)
Additional details
When I change this:
Use glide_width
In ResponsiveGraphqlArguments we should add this to the $defaultBreakpointArgs:
I didn't want to create a pull request for this, because there is no logic in doing it like this because of the glideArgs.