made photo URL verification configurable

Change-Id: Iaa0210b51667b073a51f56ec6577ea5b2c6afc40