public function image($url, $alt = null, $options = [])
    {
        $options['alt'] = $alt;

        return '<img src="'.$this->_generator->asset($url).'"'.self::attributes($options).'>';
    }
public function image($url, $alt = null, $options = [])
    {
        $options['alt'] = $alt;

        return '<img src="'.$this->_generator->asset($url).'"'.self::attributes($options).'>';
    }
public function image ( $ url , $ alt = null , $ options = [ ] ) { $ options [ 'alt' ] = $ alt ; return '<img src="' . $ this -> _generator -> asset ( $ url ) . '"' . self :: attributes ( $ options ) . '>' ; }
Creates an image element.

@param string $url
@param string $alt
@param array  $options

@return string
Creates an image element .