Skip to content
Grav 2.0 is officially stable. Read the announcement →
Content & Markdown

Default image derivatives for all images

Started by Jan 3 years ago · 0 replies · 394 views
3 years ago

Grav generates a srcset with multiple derivatives of an image if I:

  • End the image filename with a multiplyer e.g. [email protected]
  • Add a derivatives or sizes attribute to the image in the markup file

I have a site with many images. Is there any way to do this automatically for all images? Something like a default derivatives setting.

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 9 months ago
6 458 9 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 437 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 367 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 295 1 year ago
Content & Markdown · by belthasar, 2 years ago
4 575 2 years ago