|
|
|
|
@ -33,11 +33,11 @@ class Config
|
|
|
|
|
'uploader' => [
|
|
|
|
|
'max_photo_size' => (int) config_cache('pixelfed.max_photo_size'),
|
|
|
|
|
'max_caption_length' => (int) config_cache('pixelfed.max_caption_length'),
|
|
|
|
|
'max_altext_length' => (int) config_cache('pixelfed.max_altext_length', 150),
|
|
|
|
|
'max_altext_length' => (int) config_cache('pixelfed.max_altext_length'),
|
|
|
|
|
'album_limit' => (int) config_cache('pixelfed.max_album_length'),
|
|
|
|
|
'image_quality' => (int) config_cache('pixelfed.image_quality'),
|
|
|
|
|
|
|
|
|
|
'max_collection_length' => (int) config_cache('pixelfed.max_collection_length', 18),
|
|
|
|
|
'max_collection_length' => (int) config_cache('pixelfed.max_collection_length'),
|
|
|
|
|
|
|
|
|
|
'optimize_image' => (bool) config_cache('pixelfed.optimize_image'),
|
|
|
|
|
'optimize_video' => (bool) config_cache('pixelfed.optimize_video'),
|
|
|
|
|
|