throw error if photopicker is initialized with no images or videos