Added the ability to set a maximum number of images to cache