src/Components/Builder/Providers/HtmlProvider.php
public function image($url, $alt = null, $attributes = [], $secure = null)
    {
        $attributes['alt'] = $alt;

        return $this->toHtmlString('<img src="' . $this->uri->assets($url,
                $secure) . '"' . $this->attributes($attributes) . '>');
    }
public function image($url, $alt = null, $attributes = [], $secure = null)
    {
        $attributes['alt'] = $alt;

        return $this->toHtmlString('<img src="' . $this->uri->assets($url,
                $secure) . '"' . $this->attributes($attributes) . '>');
    }
Generate an HTML image element.

@param string $url
@param string $alt
@param array  $attributes
@param bool   $secure

@return string