check for image mime type on media_send_to_editor