Previous Page
dump()

Solar_View_Helper_Image
image()

Next Page
locale()

image()

public string image ( string $src, array $attribs default 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().