add image cache class