Revision b83ef588
Von Holger Lindemann vor mehr als 12 Jahren hinzugefügt
peppershop/Picture.php | ||
---|---|---|
37 | 37 |
$faktor = $d["width"]/$d["height"]; |
38 | 38 |
} |
39 | 39 |
$smallheight = floor($this->smallwidth*$faktor); |
40 |
$handle->thumbnailImage($this->smallwidth, $smallheight); |
|
40 |
$handle->thumbnailImage($this->smallwidth, $smallheight, true);
|
|
41 | 41 |
$rc = $handle->writeImage( "./tmp/tmp.file_small"); |
42 | 42 |
if ( !$this->original ) { |
43 | 43 |
$handle->readImage("./tmp/tmp.file_org"); |
44 | 44 |
$bigheight = floor($this->bigwidth * $faktor); |
45 |
$handle->thumbnailImage( $this->bigwidth, $bigheight); |
|
45 |
$handle->thumbnailImage( $this->bigwidth, $bigheight,true);
|
|
46 | 46 |
return $handle->writeImage( "./tmp/tmp.file_org"); |
47 | 47 |
} |
48 | 48 |
return $rc; |
Auch abrufbar als: Unified diff
Bestfit mitgeben
Variable treuh auf treuhand geändert