public function thumbOf($file, $params = array(), $htmlOptions = array(), $hash = null) { return CHtml::image($this->thumbSrcOf($file, $params, $hash), isset($htmlOptions['alt']) ? $htmlOptions['alt'] : '', $htmlOptions); }