add to image cache