Fix #2406 support "fill" as thumbnail type in content widget

This commit is contained in:
Kijin Sung 2024-10-07 20:58:40 +09:00
parent 8b2fc81b8d
commit 12af0905f8
2 changed files with 20 additions and 9 deletions

View file

@ -39,7 +39,7 @@ class content extends WidgetHandler
// Display time of the latest post
if(!$args->duration_new) $args->duration_new = 12;
// How to create thumbnails
if(!$args->thumbnail_type) $args->thumbnail_type = 'crop';
if(!$args->thumbnail_type) $args->thumbnail_type = 'fill';
// Horizontal size of thumbnails
if(!$args->thumbnail_width) $args->thumbnail_width = 100;
// Vertical size of thumbnails