[pLog-svn] r3795 - plog/trunk/class/gallery/resizers

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Jul 24 18:05:31 GMT 2006


Author: mark
Date: 2006-07-24 18:05:31 +0000 (Mon, 24 Jul 2006)
New Revision: 3795

Modified:
   plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php
Log:
Fixed a bug when we use the final width and height settings.

My original idea is turn everything to lower case, but it will break the back compatibility. So ... give up..Just remain it in original case.

Modified: plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php	2006-07-24 17:49:40 UTC (rev 3794)
+++ plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php	2006-07-24 18:05:31 UTC (rev 3795)
@@ -95,7 +95,7 @@
 			
 			// get the file extension
 			$fileParts = explode( ".", $resFile );
-			$fileExt = strtolower($fileParts[count($fileParts)-1]);
+			$fileExt = $fileParts[count($fileParts)-1];
 			$fileName = $ownerId."-".$resourceId.".".$fileExt;
 			
 			// and start the resizing process



More information about the pLog-svn mailing list