Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Default image derivatives for all images

Started by Jan 4 years ago · 0 replies · 488 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, 11 months ago
6 961 11 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 764 1 year ago
Content & Markdown · by Jan L'Am, 2 years ago
4 676 2 years ago
Content & Markdown · by Leonardo, 2 years ago
3 602 2 years ago
Content & Markdown · by belthasar, 2 years ago
4 985 2 years ago