Get all images using pagination