Images of tens of thousands of travellers crossing the US border were taken, officials say.