[geeklog-cvs] geeklog-1.3 config.php,1.76,1.77

dhaun at geeklog.net dhaun at geeklog.net
Thu Mar 27 15:20:02 EST 2003


Update of /usr/cvs/geeklog/geeklog-1.3
In directory internal.geeklog.net:/tmp/cvs-serv7566

Modified Files:
	config.php 
Log Message:
You can now keep the original, unscaled image when uploading images for stories. The smaller, scaled version will then be used as a thumbnail and link to the original image (based on code provided by Alexander Schmacks).


Index: config.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/config.php,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** config.php	22 Mar 2003 14:04:53 -0000	1.76
--- config.php	27 Mar 2003 20:20:00 -0000	1.77
***************
*** 364,367 ****
--- 364,371 ----
  //$_CONF['path_to_netpbm']        = '/path/to/netpbm/';
  
+ // When set to 1, Geeklog will keep the original, unscaled images and make
+ // the smaller image link to the unscaled image.
+ $_CONF['keep_unscaled_image']   = 0; // 1 = keep original images
+ 
  // Story image settings
  $_CONF['max_image_width']       = 300;  // In pixels





More information about the geeklog-cvs mailing list