home > slideshow : enable
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
This commit is contained in:
parent
dc0c48acc3
commit
13040a9df3
8 changed files with 163 additions and 48 deletions
20
site/config/thumbs/home-slideshow.php
Normal file
20
site/config/thumbs/home-slideshow.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
// Slideshow plein écran : toujours 100vw, pas de crop
|
||||
// Widths couvrent du mobile (1x) jusqu'à 4K (1x)
|
||||
return [
|
||||
'home-slideshow' => [
|
||||
'800w' => ['width' => 800],
|
||||
'1200w' => ['width' => 1200],
|
||||
'1600w' => ['width' => 1600],
|
||||
'2000w' => ['width' => 2000],
|
||||
'2560w' => ['width' => 2560],
|
||||
],
|
||||
'home-slideshow-webp' => [
|
||||
'800w' => ['width' => 800, 'format' => 'webp'],
|
||||
'1200w' => ['width' => 1200, 'format' => 'webp'],
|
||||
'1600w' => ['width' => 1600, 'format' => 'webp'],
|
||||
'2000w' => ['width' => 2000, 'format' => 'webp'],
|
||||
'2560w' => ['width' => 2560, 'format' => 'webp'],
|
||||
],
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue