[pLog-svn] r2991 - plog/branches/lifetype-1.0.4/class/gallery/dao

mark at devel.lifetype.net mark at devel.lifetype.net
Wed Mar 1 01:50:53 GMT 2006


Author: mark
Date: 2006-03-01 01:50:52 +0000 (Wed, 01 Mar 2006)
New Revision: 2991

Modified:
   plog/branches/lifetype-1.0.4/class/gallery/dao/galleryresources.class.php
Log:
We forgot to generate medium size thumbnail.

Modified: plog/branches/lifetype-1.0.4/class/gallery/dao/galleryresources.class.php
===================================================================
--- plog/branches/lifetype-1.0.4/class/gallery/dao/galleryresources.class.php	2006-02-27 21:50:47 UTC (rev 2990)
+++ plog/branches/lifetype-1.0.4/class/gallery/dao/galleryresources.class.php	2006-03-01 01:50:52 UTC (rev 2991)
@@ -637,6 +637,7 @@
             // and finally, we can generate the thumbnail only if the file is an image, of course :)
             if( $resourceType == GALLERY_RESOURCE_IMAGE ) {
                 $this->generateResourceThumbnail( $resFile, $resourceId, $ownerId );
+                $this->generateResourceMediumSizeThumbnail( $resFile, $resourceId, $ownerId );
             }
             
             // return the id of the resource we just added



More information about the pLog-svn mailing list