added simple cache for images in library