GraphQL Srcset Plugin for Craft CMS
Adds the @srcset GraphQL directive for generating a comma-separated list of image transforms.
- Set default widths for all srcset transforms.
- Specify a ratio to generate all images using the same aspect ratio.
- 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
Create a Github issue if you experience a bug with the GraphQL Srcset plugin.
To install this plugin, search for its package name on the Plugin Store and click “Install”.