image_tag(source, options={})
Instance Public methods
Returns an HTML image tag for the
source. The source can be a full path or a file.
Options
You can add HTML attributes using the
options. The options supports two additional keys
for convenience and conformance:
:alt - If no alt text is given, the file name part of the
source is used (capitalized and without the extension)
:size - Supplied as â{Width}x{Height}â or â{Number}â, so
â30x45â becomes width=â30â and height=â45â, an