SproutCMS

This is the code documentation for the SproutCMS project

function imageSize()

Returns the size of an image, or false on failure.

Output format is the same as getimagesize, but will be at a minimum:
  [0] => width, [1] => height, [2] => type

Usage

array File::imageSize ( string $filename );

Arguments

  1. string $filename
    The name of the file in the repository

Return value

  • array