From bd77ae53b92d05a9798db1086c75c89a92b0db65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Nicou=C3=A9?= Date: Thu, 2 Jun 2022 16:04:15 +0200 Subject: [PATCH] Edit default srcset attributes --- site/config/config.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/site/config/config.php b/site/config/config.php index e110409..fc20805 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -30,7 +30,11 @@ return [ // Thumbnails and srcsets presets 'thumbs' => [ 'srcsets' => [ - 'default' => [500, 1000, 1500] + 'default' => [ + '640w' => ['width' => 640, 'quality' => 80], + '1280w' => ['width' => 1280, 'quality' => 80], + '1920w' => ['width' => 1920, 'quality' => 80] + ] ] ] ];