search image with index