Change theme:   

image

Generates HTML IMG tag for given image path. Site root prefix will be added automatically. Additional attributes may be supplied.

  {% image 'images/image_path.png' %}
  #=> <img src="/site_root/images/image_path.png" />

Attributes

All additional attributes after image path will copied onto IMG tag attributes:

  {% image 'image_path.png' alt="Image" foo="Bar" %}
  #=> <img src="/site_root/image_path.png" alt="Image" foo="Bar" />