nl: evaluate the method get_image_dimensions with self class instance and close set to close as the arguments, substitute the result for self._dimensions_cache.
code: self . _dimensions_cache = get_image_dimensions ( self , close = close )