The thumbnail extraction method.