1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 18:26:50 +00:00
pixelfed/config/media.php
Daniel Supernault 25d632c761
Add new config
2019-06-17 22:15:36 -06:00

15 lines
No EOL
382 B
PHP

<?php
return [
'exif' => [
'database' => env('MEDIA_EXIF_DATABASE', false),
'strip' => true
],
'types' => env('MEDIA_TYPES', 'image/jpeg,image/png,image/gif'),
'photo' => [
'optimize' => env('PF_OPTIMIZE_IMAGES', true),
'quality' => (int) env('IMAGE_QUALITY', 80),
'max_size' => env('MAX_PHOTO_SIZE', 15000),
'max_album_length' => env('MAX_ALBUM_LENGTH', 4),
],
];