take photoes function