mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 14:17:08 +00:00
Upping default max_image_size from 256 to 512. (#5177)
- Context: https://github.com/LemmyNet/lemmy-ui/issues/2796
This commit is contained in:
parent
39eeb2cbb3
commit
70b0d39475
|
@ -76,7 +76,7 @@
|
||||||
# Timeout for uploading images to pictrs (in seconds)
|
# Timeout for uploading images to pictrs (in seconds)
|
||||||
upload_timeout: 30
|
upload_timeout: 30
|
||||||
# Resize post thumbnails to this maximum width/height.
|
# Resize post thumbnails to this maximum width/height.
|
||||||
max_thumbnail_size: 256
|
max_thumbnail_size: 512
|
||||||
}
|
}
|
||||||
# Email sending configuration. All options except login/password are mandatory
|
# Email sending configuration. All options except login/password are mandatory
|
||||||
email: {
|
email: {
|
||||||
|
|
|
@ -92,7 +92,7 @@ pub struct PictrsConfig {
|
||||||
pub upload_timeout: u64,
|
pub upload_timeout: u64,
|
||||||
|
|
||||||
/// Resize post thumbnails to this maximum width/height.
|
/// Resize post thumbnails to this maximum width/height.
|
||||||
#[default(256)]
|
#[default(512)]
|
||||||
pub max_thumbnail_size: u32,
|
pub max_thumbnail_size: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue