GraphQL Srcset
GraphQL Srcset Plugin for Craft CMS
Adds the @srcset GraphQL directive for generating a comma-separated list of image transforms.
Features
- Set default widths for all srcset transforms.
- Specify a ratio to generate all images using the same aspect ratio.
Toubleshooting
- If you're having issues with the directive not simply returning the URL with no transforms, you must specify at least one argument in the directive. Consider adding the
immediately
argument.
Support
Create a Github issue if you experience a bug with the GraphQL Srcset plugin.
Free
Package Name
To install this plugin, search for its package name on the Plugin Store and click “Install”.