Manual:Hooks/ImageOpenShowImageInlineBefore

Details
$imagepage - The ImagePage object.

$out - The OutputPage object.