public function getThumbImage($alias, $options=[])
    {
        $url = $this->getThumbUrl($alias);

        if (empty($url)) {
            return '';
        }

        if (empty($options['alt'])) {
            $options['alt'] = $this->alt;
        }

        return Html::img($url, $options);
    }
public function getThumbImage($alias, $options=[])
    {
        $url = $this->getThumbUrl($alias);

        if (empty($url)) {
            return '';
        }

        if (empty($options['alt'])) {
            $options['alt'] = $this->alt;
        }

        return Html::img($url, $options);
    }
public function getThumbImage ( $ alias , $ options = [ ] ) { $ url = $ this -> getThumbUrl ( $ alias ) ; if ( empty ( $ url ) ) { return '' ; } if ( empty ( $ options [ 'alt' ] ) ) { $ options [ 'alt' ] = $ this -> alt ; } return Html :: img ( $ url , $ options ) ; }
Thumbnail image html tag

@param string $alias thumbnail alias
@param array $options html options
@return string Html image tag
Thumbnail image html tag