method for getting images from paginated site