Add a way to set/reset an image to/from the cache.