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”.


Information

  • Version 1.0.0
  • Last Update 3/30/2020
  • Active Installs 17
  • Compatibility Craft 3
  • License MIT
  • Categories Assets, Utilities, Development

Report an issue