Saves image to cache without downloading it.