You are here

function sassy_compass__image_info in Sassy 7.2

Same name and namespace in other branches
  1. 7.3 sassy_compass/functions/image_size.inc \sassy_compass__image_info()
2 calls to sassy_compass__image_info()
sassy_compass__image_height in extensions/compass/functions/image_size.inc
sassy_compass__image_width in extensions/compass/functions/image_size.inc

File

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

Code

function sassy_compass__image_info($file) {
  if ($path = sassy_compass__url($file, TRUE, FALSE)) {
    if ($info = getimagesize($path)) {
      return $info;
    }
  }
  return false;
}