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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Default image derivatives for all images

Started by Jan 3 years ago · 0 replies · 321 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, 8 months ago
6 94 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 184 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 146 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 60 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 254 1 year ago