forked from visuellverstehen/statamic-picturesque
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
79 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ | |
} | ||
}, | ||
"require": { | ||
"php": "^8.0", | ||
"statamic/cms": "^3.4" | ||
}, | ||
"config": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Breakpoints | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Define supported breakpoints for generating breakpoint-based sources. | ||
| | ||
*/ | ||
|
||
'breakpoints' => [ | ||
'default' => 0, | ||
'sm' => 640, | ||
'md' => 768, | ||
'lg' => 1024, | ||
'xl' => 1280, | ||
'2xl' => 1536, | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Size multipliers | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Define in which multiples of the requested image size should sources be | ||
| generated when using the `sizes` attribute. | ||
| | ||
*/ | ||
|
||
'size_multipliers' => [1, 1.5, 2], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Device pixel ratios | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Define for which DPRs should sources be generated when *not* using the | ||
| `sizes` attribute. Use int or float values, e. g. for 2x => 2 | ||
| | ||
*/ | ||
|
||
'dpr' => [1, 2], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Supported filetypes | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Define the supported filetypes for image processing. | ||
| | ||
*/ | ||
|
||
'supported_filetypes' => ['jpg', 'jpeg', 'png', 'webp'], | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters