width and height options

This commit is contained in:
Marc Delisle
2003-03-07 18:01:07 +00:00
parent 280336063f
commit 349aee42bf
2 changed files with 3 additions and 4 deletions

View File

@@ -155,8 +155,8 @@ if (!isset($resize)) {
// it sets $resize to 1
$srcImage = imagecreatefromstring($row[urldecode($transform_key)]);
$newWidth = $suggested_size;
$newHeight = $suggested_size;
//$newWidth = $suggested_size;
//$newHeight = $suggested_size;
$srcWidth = ImageSX( $srcImage );
$srcHeight = ImageSY( $srcImage );