optimize image
This commit is contained in:
parent
3f81882bcd
commit
038f28c191
5 changed files with 24 additions and 35 deletions
|
|
@ -5,28 +5,15 @@ return [
|
|||
'thumbs' => [
|
||||
'quality' => 80,
|
||||
'presets' => [
|
||||
'grid' => 400,
|
||||
'default' => [
|
||||
'width' => 1024, 'format' => 'webp'
|
||||
],
|
||||
'full' => 2048, 'format' => 'webp'
|
||||
'full' => 2048,
|
||||
'format' => 'webp'
|
||||
],
|
||||
'srcsets' => [
|
||||
'default' => [
|
||||
'200w' => ['width' => 400],
|
||||
'400w' => ['width' => 800],
|
||||
'800w' => ['width' => 1600],
|
||||
'1024w' => ['width' => 2048],
|
||||
'1440w' => ['width' => 2880],
|
||||
'2048w' => ['width' => 4096]
|
||||
],
|
||||
'webp' => [
|
||||
'200w' => ['width' => 400, 'format' => 'webp'],
|
||||
'400w' => ['width' => 800, 'format' => 'webp'],
|
||||
'800w' => ['width' => 1600, 'format' => 'webp'],
|
||||
'1024w' => ['width' => 2048, 'format' => 'webp'],
|
||||
'1440w' => ['width' => 2880, 'format' => 'webp'],
|
||||
'2048w' => ['width' => 4096, 'format' => 'webp']
|
||||
]
|
||||
'default' => [200, 400, 600, 800, 1024, 1440, 2048],
|
||||
],
|
||||
],
|
||||
'panel' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue