add imageCache to ImageGallery