I don't know what the performance implications are of calling this for every thumbnail... I'd prefer to just make this a global pictureStorage.  I don't think there is any harm in just having a storage object sitting around.