public function image($url, $name = null, $attributes = array()) { $attributes['src'] = $this->url->to($url); return $this->input('image', $name, null, $attributes); }