compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/image_size.rb
# Returns the width of the image relative to the images directory
Returns the width of the image relative to the images directory
Returns the width of the image relative to the images directory
def real_path(image_file)
    if Compass.configuration.images_path
      File.join(Compass.configuration.images_path, image_file)
    else
      File.join(Compass.configuration.project_path, image_file)
    end
  end
def real_path ( image_file ) if Compass . configuration . images_path File . join ( Compass . configuration . images_path , image_file ) else File . join ( Compass . configuration . project_path , image_file ) end end
Returns the width of the image relative to the images directory
Returns the width of the image relative to the images directory
# Compute the real path to the image on the file stystem if the images_dir is set.
image_file