"; $html .= "Image Type"; $html .= ""; $html .= "\n"; $page->add_block(new Block("Media Tools", $html)); } public function get_buttons_html(int $image_id): string { return " ".make_form(make_link("media_rescan/"))." "; } public function get_help_html() { return '

Search for items based on the type of media.

content:audio

Returns items that contain audio, including videos and audio files.

content:video

Returns items that contain video, including animated GIFs.

These search terms depend on the items being scanned for media content. Automatic scanning was implemented in mid-2019, so items uploaded before, or items uploaded on a system without ffmpeg, will require additional scanning before this will work.

'; } }