src/Components/Builder/Providers/FormProvider.php
public function image($name, $file, $attributes = [], $secure = null)
    {
        $attributes['src'] = $this->uri->assets($file, $secure);

        return $this->input('image', $name, null, $attributes);
    }
public function image($name, $file, $attributes = [], $secure = null)
    {
        $attributes['src'] = $this->uri->assets($file, $secure);

        return $this->input('image', $name, null, $attributes);
    }
Create a HTML image input element.

@param  string $name
@param  string $file
@param  array  $attributes
@param  bool   $secure

@return string