public static function image($src, $alt = '', $htmlOptions = array())
{
$type = TbArray::popValue('type', $htmlOptions);
if (!empty($type)) {
self::addCssClass('img-' . $type, $htmlOptions);
}
if (TbArray::popValue('responsive', $htmlOptions, false)) {
self::addCssClass('img-responsive', $htmlOptions);
}
return parent::image($src, $alt, $htmlOptions);
}