X-Git-Url: https://git.defcon.no/?a=blobdiff_plain;f=plsgen.cfg;h=7436ef425628c253457df943f24b3e2ce62d9e1d;hb=16f2646e3b6851d6187eccb0b2c595ccc9fff873;hp=84a3b7a4b844f1f1c52f8739d3aaf5fc0dcf0681;hpb=f4f2b8f68d207d3189de1e07b662aaaf4ed5aa8f;p=plsgen diff --git a/plsgen.cfg b/plsgen.cfg index 84a3b7a..7436ef4 100644 --- a/plsgen.cfg +++ b/plsgen.cfg @@ -12,10 +12,40 @@ index_tpl_file = /usr/local/share/plsgen/index.tpl css_file = ../style.css navigation_script = ../nav.js +# The default settings makes the 'UP' cursor key navigate to the +# current index-page when viewing a full display image. +# Some (many) users dislike this behaviour, so this config +# option turns the action on or off. Set to 0 to disable up-arrow. +up_arrow_navigate = 1 + # The layout of the thumbnails in the index. Each row will be wrapped # in a
-rows = 3 -columns = 4 +rows = 4 +columns = 5 + +# The resizing/scaling of thumbnails and view size images can +# be run in paralell threads, doing multiple resizes at the +# same time. On SMP-enabled systems, this may give a gignificant +# speed boost compared to linear execution. The following option +# sets the number of resize operations that will run parallel. +# On simple CPU's this has no gain, so the default is no concurrency. +concurrent_threads = 1 + +# Sizes of the generated images. The following are bounding-box sizes, +# meaning that an image will be scaled to fit withing the max boundaries, +# with aspect ratio preserved. The thumb_max* sets the bounding box for all +# thumbnails, while view_max* sets the display/view size. +thumb_maxwidth = 160 +thumb_maxheight = 120 +view_maxwidth = 800 +view_maxheight = 600 + +# To disable the rescaling of the full-view image completely, set +# the following option to 1. Thumbnails will still be scaled, and +# any rotation indicated by EXIF will be done, but the view-size +# image will be identical to the original. This is useful if +# all your images are pre-scaled to your liking. +disable_rescale = 0 # HTML code to wrap each thumbnail with. The default allows simple # styling. If you wish to span this over multiple lines, use the @@ -23,9 +53,18 @@ columns = 4 thumb_pre =
thumb_post =
+# HTML code to wrap comments with, for both index and image +# display. The default allows simple styling. If you wish to span +# this over multiple lines, use the end-of-line continuation mark \ +comment_pre =
+comment_post =
+ # Text-strings that can easily be replaced with more complex HTML. idx_prev_text = ← Back idx_next_text = Next → idx_ret_text = To index -footer_tag = plsgen : Perl Simple Gallery Generator 0.1 + +# The Album generator tag can be overridden. This is commented +# out in the sample, but included as an example. +#footer_tag = plsgen : Perl Simple Gallery Generator