add download all photo function