PhotoID valdiation for all related models