X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=peppershop%2FPicture.php;h=55184da43c423c84a5e098af83d9aeed3c85bc98;hb=8d8d1aab328b1c47d7983aca59c1c99592336eff;hp=692a7ea31285a47e57ce9e82496efa6878fd4a8e;hpb=0873c774b2fed0f3dc05f6aa41d3eff8f5ece57e;p=kivitendo-erp.git diff --git a/peppershop/Picture.php b/peppershop/Picture.php index 692a7ea31..55184da43 100644 --- a/peppershop/Picture.php +++ b/peppershop/Picture.php @@ -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;