You are here

function sassy_compass__image_height in Sassy 7.2

Same name and namespace in other branches
  1. 7.3 sassy_compass/functions/image_size.inc \sassy_compass__image_height()

File

extensions/compass/functions/image_size.inc, line 10

Code

function sassy_compass__image_height($file) {
  if ($info = sassy_compass__image_info($file)) {
    return new SassNumber($info[1] . 'px');
  }
  return new SassNumber('0px');
}