Added the ability to receive photos via API