[MKDoc-commit] [1.6] Allow wider photo thumbnails.

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Thu Sep 29 12:39:33 BST 2005


Log Message:
-----------
[1.6] Allow wider photo thumbnails. httpd defaults now match mkdoc defaults

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/MKDoc:
        Config.pm
    mkd/MKDoc/Site/ConfigWriter:
        Httpd_Conf.pm

-------------- next part --------------
Index: Config.pm
===================================================================
RCS file: /var/spool/cvs/mkd/MKDoc/Config.pm,v
retrieving revision 1.8.2.48
retrieving revision 1.8.2.49
diff -LMKDoc/Config.pm -LMKDoc/Config.pm -u -r1.8.2.48 -r1.8.2.49
--- MKDoc/Config.pm
+++ MKDoc/Config.pm
@@ -279,9 +279,9 @@
 sub _make_config {
     'do_i_really_exist'                             => '',
     'flo.plugin.Discussion.List.slice_thickness'    => get_env ('MKD__PLUGIN_DISCUSSION_PER_PAGE')  || 50,
-    'flo.plugin.Photo.scaled_max_x'                 => get_env ('MKD__PLUGIN_PHOTO_SCALED_X')       || 512,
+    'flo.plugin.Photo.scaled_max_x'                 => get_env ('MKD__PLUGIN_PHOTO_SCALED_X')       || 640,
     'flo.plugin.Photo.scaled_max_y'                 => get_env ('MKD__PLUGIN_PHOTO_SCALED_Y')       || 384,
-    'flo.plugin.Photo.thumb_max_x'                  => get_env ('MKD__PLUGIN_PHOTO_THUMB_X')        || 256,
+    'flo.plugin.Photo.thumb_max_x'                  => get_env ('MKD__PLUGIN_PHOTO_THUMB_X')        || 640,
     'flo.plugin.Photo.thumb_max_y'                  => get_env ('MKD__PLUGIN_PHOTO_THUMB_Y')        || 128,
     'flo.plugin.Photo.quality'                      => get_env ('MKD__PLUGIN_PHOTO_QUALITY')        || 50,
     'flo.plugin.Poll.cookie_name'                   => get_env ('MKD__PLUGIN_POLL_COOKIE')          || 'MKD_Poll_',
Index: Httpd_Conf.pm
===================================================================
RCS file: /var/spool/cvs/mkd/MKDoc/Site/ConfigWriter/Httpd_Conf.pm,v
retrieving revision 1.1.2.43
retrieving revision 1.1.2.44
diff -LMKDoc/Site/ConfigWriter/Httpd_Conf.pm -LMKDoc/Site/ConfigWriter/Httpd_Conf.pm -u -r1.1.2.43 -r1.1.2.44
--- MKDoc/Site/ConfigWriter/Httpd_Conf.pm
+++ MKDoc/Site/ConfigWriter/Httpd_Conf.pm
@@ -186,12 +186,12 @@
 # SetEnv MKD__PLUGIN_DISCUSSION_PER_PAGE    50
 
 # Uncomment if you want to change the width / height of the photo thumbnails
-# SetEnv MKD__PLUGIN_PHOTO_THUMB_X    320
-# SetEnv MKD__PLUGIN_PHOTO_THUMB_Y    200
+# SetEnv MKD__PLUGIN_PHOTO_THUMB_X    640
+# SetEnv MKD__PLUGIN_PHOTO_THUMB_Y    128
 
 # Uncomment if you want to change the width / height of the photo scaled images
 # SetEnv MKD__PLUGIN_PHOTO_SCALED_X   640
-# SetEnv MKD__PLUGIN_PHOTO_SCALED_Y   480
+# SetEnv MKD__PLUGIN_PHOTO_SCALED_Y   384
 
 # uncomment if you want to change the JPEG quality of photo thumbnails
 # SetEnv MKD__PLUGIN_PHOTO_QUALITY    50


More information about the MKDoc-commit mailing list