Save image labels to cache