3 class BitmapHandler_ClientOnly
extends BitmapHandler
{
4 function normaliseParams( $image, &$params ) {
5 return ImageHandler
::normaliseParams( $image, $params );
8 function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) {
9 if ( !$this->normaliseParams( $image, $params ) ) {
10 return new TransformParameterError( $params );
12 return new ThumbnailImage( $image, $image->getURL(), $params['width'],
13 $params['height'], $image->getPath() );