People stand along a train track and take pictures.
Some people with cameras are standing on a train track.
People can take pictures with train only along the train tracks.
People who take pictures implies they have a cameras.
If they are taking pictures, they would have to have cameras.