code: public function image($name, $file, $attributes = [], $secure = null)
      {
          $attributes['src'] = $this->uri->assets($file, $secure);
  
          return $this->input('image', $name, null, $attributes);
      }
docs: Create a HTML image input element.
  
  @param  string $name
  @param  string $file
  @param  array  $attributes
  @param  bool   $secure
  
  @return string