Crowds of people have been photographed standing close to seals on a beach, risking causing distress to the marine mammals or getting bitten by them.