Increase default thumbnail size to 512px

This commit is contained in:
Felix Ableitner 2024-11-08 13:26:58 +01:00
parent 917e408735
commit 33a2664ddd
2 changed files with 2 additions and 2 deletions

View file

@ -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: {

View file

@ -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,
} }