changeset 263:6a9e6277ef3c

Update example configuration.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 16 Dec 2018 17:45:00 +0200
parents 3c9ce1ad3c45
children 745af791367d
files example.cfg
diffstat 1 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/example.cfg	Sun Dec 16 16:53:48 2018 +0200
+++ b/example.cfg	Sun Dec 16 17:45:00 2018 +0200
@@ -25,7 +25,7 @@
 
 ; Use image from sub-album as album cover image?
 ; If disabled, album_icon will be always used for cover image
-cover_images         = yes
+;cover_images         = yes
 
 
 ;;;
@@ -37,7 +37,7 @@
 
 ;image_url            = "/gallery/"
 ;mgallery_php         = "mgallery.php"
-;format_exts          = "\.jpg|\.png|\.gif|\.jpeg"
+;format_exts          = "\.jpg|\.png|\.gif|\.jpeg|\.webp"
 
 ;captions_file        = "captions.txt"
 ;header_file          = "header.txt"
@@ -53,11 +53,16 @@
 ;med_path             = "med/"
 
 ;;; If you change thumbnail resolutions, you may wish to change the CSS files as well
+; Supported med/tn formats are "jpeg" and "webp", depending whether your
+; installation of PHP and/or ImageMagick or GraphicsMagick supports WebP.
+
 ; tn CSS selector: .galleryEntry
+;tn_format            = "jpeg"
 ;tn_width             = 140
 ;tn_height            = 100
-;tn_quality           = 77
+;tn_quality           = 85
 
-;med_width            = 800
-;med_height           = 600
-;med_quality          = 88
+;med_format           = "jpeg"
+;med_width            = 960
+;med_height           = 640
+;med_quality          = 90