query images and download them