[pLog-svn] r6249 - plog/branches/lifetype-1.2/class/gallery/resizers

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Mar 21 13:26:33 EDT 2008


Author: jondaley
Date: 2008-03-21 13:26:33 -0400 (Fri, 21 Mar 2008)
New Revision: 6249

Modified:
   plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php
Log:
height and width in wrong order - causing strange sizing issues

Modified: plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php	2008-03-21 16:50:58 UTC (rev 6248)
+++ plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php	2008-03-21 17:26:33 UTC (rev 6249)
@@ -32,7 +32,7 @@
 			$outFile = GalleryResourceStorage::getPreviewsFolder( $ownerId ).File::basename($resFile);
 			
 			// and finally, we can generate the preview!
-			$result = $resizer->generate( $outFile, $previewHeight, $previewWidth, $previewKeepAspectRatio );
+			$result = $resizer->generate( $outFile, $previewWidth, $previewHeight, $previewKeepAspectRatio );
 			
 			return $result;
 		}



More information about the pLog-svn mailing list