Cache downloaded images in hashmap