Made sure to handle the case where Imageable is not provided to function getPublicUriBySlot