Manual:Hooks/ImageBeforeProduceHTML

Details
You can skip the default logic entirely by returning false, or just modify a few things using call-by-reference.


 * : DummyLinker object
 * : Title object of the image
 * : File object, or false if it doesn't exist
 * : Various parameters with special meanings; see documentation in includes/Linker.php for
 * : Various parameters with special meanings; see documentation in includes/Linker.php for
 * : Timestamp of file in  string form, or false for current
 * : Final HTML output (string, null by default), used if you return false
 * : Parser object
 * : Query params for desc URL
 * : Used by the parser to remember the user preference thumbnail size. Int or null