summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-04-25 16:34:05 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-04-25 16:34:05 +0200
commitb578236b19ac8893fd4647d99ca5db6c65133cb1 (patch)
tree998e9500e1d1ea252eebe2bde5307dc6682e98dc /src/setup.h
parente24d78079036ca73f0d2998c4d248bc96c3f0475 (diff)
downloadcataract-b578236b19ac8893fd4647d99ca5db6c65133cb1.tar.xz
Custom thumbnail file name format
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup.h b/src/setup.h
index 2356620..6bc25cb 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -26,6 +26,7 @@
#define DEFAULT_THUMBNAIL_DIR "_thumb"
#define DEFAULT_IMG_BIG_DIR "_big"
#define DEFAULT_IMG_ORIG_DIR "_orig"
+#define DEFAULT_THUMBNAIL_NAME_FORMAT "thn_%d_%s"
#define SETUP_XML "setup.xml"
#define DEFAULT_INDEX_FILENAME "index.html"
@@ -50,6 +51,7 @@ typedef struct {
char *thumbnail_dir;
char *img_big_dir;
char *img_orig_dir;
+ char *thumbnail_name_format;
char *footer;
char *meta_author;