$file
$file : string
The name of the file the image is stored in (if it's stored locally)
Klutz Image Class
Klutz_Image(string $image, string $type = null, integer $height = null, integer $width = null)
Constructor - Based on the information passed, loads an image, determines the size and type, etc., and stores the information in the various public properties. Any optional parameters not passed in are calculated to the best of our ability.
string | $image | Either raw image data or a filename |
string | $type | Image MIME type (e.g. image/jpeg) |
integer | $height | Height of the image in pixels |
integer | $width | Width of the image in pixels |