[pLog-svn] r4364 - plog/trunk/class/gallery/resizers
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Tue Nov 28 21:52:13 GMT 2006
Author: oscar
Date: 2006-11-28 21:52:10 +0000 (Tue, 28 Nov 2006)
New Revision: 4364
Modified:
plog/trunk/class/gallery/resizers/galleryresizer.class.php
Log:
Fixed a notice
Modified: plog/trunk/class/gallery/resizers/galleryresizer.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/galleryresizer.class.php 2006-11-28 21:01:44 UTC (rev 4363)
+++ plog/trunk/class/gallery/resizers/galleryresizer.class.php 2006-11-28 21:52:10 UTC (rev 4364)
@@ -117,13 +117,13 @@
* might be somehow bigger than the value of the $height or $width parameter)
* @return the path to the thumbnail that was generated or empty if error
*/
- function generate( $outFile, $width = DEFAULT_THUMB_WIDTH, $height = DEFAULT_THUMB_HEIGHT, $keepAspectRatio = true )
+ function generate( $outFile, $width = GALLERY_DEFAULT_THUMBNAIL_WIDTH, $height = GALLERY_DEFAULT_THUMBNAIL_HEIGHT, $keepAspectRatio = true )
{
if( $width == "" || $width < 0 )
- $width = DEFAULT_THUMB_WIDTH;
+ $width = GALLERY_DEFAULT_THUMBNAIL_WIDTH;
if( $height == "" || $height < 0 )
- $height = DEFAULT_THUMB_HEIGHT;
+ $height = GALLERY_DEFAULT_THUMBNAIL_HEIGHT;
// we can get into this 'else' if the image was not stored *or* we do not
// wish to use the cached version
More information about the pLog-svn
mailing list