Use a value of 0 for proportional resizing. E.g. for a 640 x 480 image,
->size(320, 0) yields a 320 x 240 thumbnail.
Use a value of 'orig' to use an original image dimension. E.g. for a 640
x 480 image, ->resize(320, 'orig') yields a 320 x 480 thumbnail.
public resize ( $width, $height ) |