public function image($url, $alt = null, $attributes = array()) { if (is_null($alt)) { $alt = $url; } $attributes['alt'] = $alt; return '<img src="' . $this->url->to($url) . '"' . $this->attributes($attributes) . '>'; }