if (!$this->getOwner() instanceof User) {
            throw new Exception("No valid image owner has been set"); 
        }