# File lib/compass/sass_extensions/functions/image_size.rb, line 10 def image_height(image_file) image_path = real_path(image_file) height = ImageProperties.new(image_path).size.last Sass::Script::Number.new(height, ["px"]) end