Image

The Image helper file contains functions that assist in working with images.

isImage

Check if specified file is an image.

image_helper::isImage('/path/to/image.jpg'); // returns true of false

getDimensions

Return array with image dimensions.

image_helper::getDimensions('/path/to/image.jpg'); // array(0 => 200, 1 => 150) width/height