get all images from a thread