Skip to content

Commit

Permalink
Merge pull request #19 from sorenmalling/task/readme-imageoptions-cor…
Browse files Browse the repository at this point in the history
…rection

TASK: README imageOptions correction
  • Loading branch information
kdambekalns authored Sep 10, 2024
2 parents ae73fb8 + 0814557 commit 861c1ce
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,25 @@ Via configuration, you can set what dimensions the returned images must have. Th
The configuration is by default

```yaml
Media:
assetSources:
'flownative-pixxio':
imageOptions:
thumbnailUri:
width: 400
height: 400
quality: 90
crop: false
previewUri:
width: 1500
height: 1500
quality: 90
originalUri:
sizeMax: 1920
quality: 90
Neos:
Media:
assetSources:
'flownative-pixxio':
assetSource: 'Flownative\Pixxio\AssetSource\PixxioAssetSource'
assetSourceOptions:
imageOptions:
thumbnailUri:
width: 400
height: 400
quality: 90
crop: false
previewUri:
width: 1500
height: 1500
quality: 90
originalUri:
sizeMax: 1920
quality: 90
```

Each imageOptions can be overridden from your own packages configuration, by addressing the specific preset key.
Expand Down

0 comments on commit 861c1ce

Please sign in to comment.