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 · 443 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, 10 months ago
6 726 10 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 625 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 547 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 472 1 year ago
Content & Markdown · by belthasar, 2 years ago
4 817 2 years ago