Add images to the set of paths to be cached.