Skip to content

Commit 0dabad7

Browse files
committed
Update README with example of image count configuration
1 parent ac86ff4 commit 0dabad7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ SilverStripe\CMS\Model\RedirectorPage:
1919
enabled: false
2020
```
2121

22+
The maximum number of images can be also specified in the config using the following syntax (default is 20 for a page):
23+
24+
```php
25+
SilverStripe\Blog\Model\BlogPost:
26+
images:
27+
count: 50
28+
```
29+
30+
2231
You can add images to any DataObject too, just extend DataObject with ObjectImagesExtension.
2332

2433
## Usage

0 commit comments

Comments
 (0)