Revision b83ef588
Von Holger Lindemann vor mehr als 12 Jahren hinzugefügt
peppershop/Picture.php | ||
---|---|---|
$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;
|
Auch abrufbar als: Unified diff
Bestfit mitgeben
Variable treuh auf treuhand geändert