ImageTools

User Documentation: Functions: getmimetype

string getmimetype( [string file] )

Description

Gets image MIME type.

Parameters

file File path to an image.
[ If false, $vif->image is used. ]

Usage

$vif->getmimetype($file);