Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Default image derivatives for all images

Started by Jan 4 years ago · 0 replies · 672 views
4 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, 1 year ago
6 1663 1 year ago
Content & Markdown · by Ton Haarmans, 2 years ago
10 1235 2 years ago
Content & Markdown · by Jan L'Am, 2 years ago
4 1099 2 years ago
Content & Markdown · by Leonardo, 2 years ago
3 1002 2 years ago
Content & Markdown · by belthasar, 2 years ago
4 1492 2 years ago