adding image cache