Skip to content

Commit ce35c22

Browse files
committed
update doc
1 parent 5b76dd0 commit ce35c22

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

docs/media.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -40,35 +40,7 @@ InspireCMS supports multiple upload methods:
4040

4141
### Upload Configuration
4242

43-
Configure upload settings in `config/inspirecms.php`:
44-
45-
```php {title="config/inspirecms.php"}
46-
'media' => [
47-
'media_library' => [
48-
'disk' => 'public',
49-
'allowed_mime_types' => [], // Allowed file types
50-
'max_file_size' => null, // Maximum file size in KB
51-
'thumbnail' => [
52-
'width' => 300,
53-
'height' => 300,
54-
],
55-
'should_map_video_properties_with_ffmpeg' => false,
56-
'middlewares' => [
57-
'cache.headers:public;max_age=2628000;etag',
58-
],
59-
'responsive_images' => [
60-
'small' => [
61-
'enabled' => true,
62-
'width' => 400,
63-
],
64-
'medium' => [
65-
'enabled' => true,
66-
'width' => 600,
67-
],
68-
],
69-
],
70-
],
71-
```
43+
Configure upload settings in `config/inspirecms.php`. For more details, see [Configuration](./configuration#content-media-management){.doc-link}
7244

7345
---
7446

0 commit comments

Comments
 (0)