Manual:Hooks/ParserMakeImageParams

Details

 * $title: The title of the image
 * $file: The file name of the image
 * $params: The parameters used to generate the image (i.e. thumbnail, center, framed). See Parser.php for a complete list.
 * $parser: Parser that called the hook. Available since MediaWiki 1.20.