Made photo request synchronous.