If the photo taking actually changes your wait time, ask them politely to keep moving or let you pass. If all the photo taking does is change where you do the waiting you were going to do anyway, just wait patiently. In no situation is it really appropriate to just walk past people ahead of you who are obviously still in the queue without saying anything.
(And pooping in line is still right out, indecent exposure or not. There are health codes regulating where we leave human feces. Unless maybe if you bring a pooper scooper...)
(And pooping in line is still right out, indecent exposure or not. There are health codes regulating where we leave human feces. Unless maybe if you bring a pooper scooper...)