Added url validation rule to photo source.