# File lib/compass/sass_extensions/functions/image_size.rb, line 3
  def image_width(image_file)
    image_path = real_path(image_file)
    width = ImageProperties.new(image_path).size.first
    Sass::Script::Number.new(width,["px"])
  end