finished photo download implementation