photos are personal things and you cant hold up a train station to take a pic. and who wants their pic taken in the middle of a street anyway. go to an out of the way and preferably more scenic spot for that.
depends if they are friends already but generally its considered rude to the people in line behind. the checkout is for business.. its one thing to be cheerful but any conversation that extends beyond the duration of the transaction is rude