now i implement download image function so how did i know that image is already load and get it from memory?