Change default contact sheet name

This commit is contained in:
Jafea7 2025-09-22 22:09:00 +10:00
parent 17ab746445
commit 231a6c9456
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class CreateContactSheet extends AbstractPlaceholderAwarePostProcessor {
int cols = Integer.parseInt(getConfig().getOrDefault(COLS, "8"));
int rows = Integer.parseInt(getConfig().getOrDefault(ROWS, "7"));
String color = getConfig().getOrDefault(BACKGROUND, "0x333333");
String filename = getConfig().getOrDefault(FILENAME, "contactsheet.jpg");
String filename = getConfig().getOrDefault(FILENAME, "$sanitize(${modelName})_$sanitize(${siteName})_$format(${localDateTime},yyyyMMdd-HHmmss).jpg");
int thumbWidth = (int) ((totalWidth - (cols + 1) * padding) / (double)cols);
Path tempDir = createThumbnails(rec, config);