]> wagnertech.de Git - mfinanz.git/blobdiff - peppershop/Picture.php
MenĂ¼variante "Oben (mit CSS, neu)" bei Stilvorlage "lx-office" nicht verdeckt lassen
[mfinanz.git] / peppershop / Picture.php
index 692a7ea31285a47e57ce9e82496efa6878fd4a8e..55184da43c423c84a5e098af83d9aeed3c85bc98 100644 (file)
@@ -37,12 +37,12 @@ class picture {
             $faktor = $d["width"]/$d["height"];
         }
         $smallheight = floor($this->smallwidth*$faktor);
-        $handle->thumbnailImage($this->smallwidth, $smallheight);
+        $handle->thumbnailImage($this->smallwidth, $smallheight, true);
         $rc = $handle->writeImage( "./tmp/tmp.file_small");
         if ( !$this->original ) {
             $handle->readImage("./tmp/tmp.file_org");
             $bigheight = floor($this->bigwidth * $faktor);
-            $handle->thumbnailImage( $this->bigwidth, $bigheight);
+            $handle->thumbnailImage( $this->bigwidth, $bigheight,true);
             return $handle->writeImage( "./tmp/tmp.file_org");
         }
         return $rc;