check for cached image in cache_image as well