# HG changeset patch # User Matti Hamalainen # Date 1544975100 -7200 # Node ID 6a9e6277ef3cad3ead4df735416e0e4ef7f33df3 # Parent 3c9ce1ad3c45473fffb530c771cd97fbd99b6035 Update example configuration. diff -r 3c9ce1ad3c45 -r 6a9e6277ef3c example.cfg --- 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