Solar_View_Helper_Image::image()

public string Solar_View_Helper_Image::image ( string $src , array $attribs = array () )

Returns an <img ...

Parameters

  • (string) $src: The href to the image source.

  • (array) $attribs: Additional attributes for the tag.

Returns

  • (string) An <img ... /> tag.

Description

Returns an <img ...

/> tag.

If an "alt" attribute is not specified, will add it from the image » basename().



Local