Photo data functional has been implemented and used.