# File lib/staticmatic/helpers.rb, line 139
    def img(name, options = {})
      options[:src] = name.match(%r{^((\.\.?)?/|https?://)}) ? name : "#{current_page_relative_path}images/#{name}"
      options[:alt] ||= name.split('/').last.split('.').first.capitalize.gsub(/_|-/, ' ')
      tag :img, options
    end