Manual:GalleryGetModesHook.php