In one photo, one of 88 men in a cell meant for 41 presses a piece of cardboard against the window, with the word "help".
In another, a man lowers his head and clasps his hands as if in prayer. And in a third, a woman wearing a surgical mask presses both of her hands against the glass.
The images were released Tuesday by US government inspectors who visited facilities in South Texas where migrant adults and children who crossed the nearby border with Mexico are processed and detained.
As public outrage grows over the conditions in which thousands of people — some no more than a few months old — are being held by the US government, the report offered new cause for alarm.
"When detainees observed us, they banged on the cell windows, shouted, pressed notes to the window with their time in custody, and gestured to evidence of their time in custody," the report says.
BuzzFeed first reported on a draft version of the report, which blurs most faces in the photos.
An autopsy report also released Tuesday confirmed that Wilmer Josue Ramirez Vasquez, one of five children to die after being detained by border agents since late last year, had multiple intestinal and infectious respiratory diseases, including the flu. Two of the others also had the flu.
The autopsy report says Wilmer was in "respiratory distress" on April 6 when he was taken to an emergency room.
The Border Patrol said it had detained Wilmer and his mother for three days when she told agents her son was ill. It didn't specify if that was the first report or sign that Wilmer was sick. The agency did not respond to follow-up questions sent on Tuesday.
Pediatricians called again on border authorities to accept their offer to provide volunteer medical care to migrants in detention. US Customs and Border Protection (CPB) rejected the offer.
Spokesman Roger Maier said anyone who needs medical attention beyond what government and contract staff can provide is taken to a local hospital.
Detainees banged on the cell windows, shouted, pressed notes to the window with their time in custody ...
The Border Patrol made 132,887 apprehensions in May, including 84,542 adults and children travelling together.
Long-term facilities are full and President Donald Trump's administration has said it has to hold people in unsuitable Border Patrol facilities for much longer than the 72 hours normally allowed by law.
Auditors from the Department of Homeland Security's inspector general visited five facilities and two ports of entry in South Texas' Rio Grande Valley, where more people cross the US-Mexico border illegally than any other section.
The dangers there were recently illustrated in images shared around the world showing a young father and daughter who drowned trying to enter the US by crossing the Rio Grande.
DHS blamed "an acute and worsening crisis" and said it had tried to expand detention capacity and improve the conditions under which migrant families are held. DHS did not immediately respond to a request for further comment from AP.
Immigrant advocates blame the Trump administration for refusing to promptly release families, children and people seeking asylum, leading to increased numbers of people detained.
The report details several potential violations of federal law or Border Patrol standards:
• Two facilities inspected had not given children hot meals until the week auditors arrived. Some adults were only getting bologna sandwiches, causing constipation and in some cases requiring medical attention.
• Of 2669 children detained, 826 had been held there longer than 72 hours. More than 50 children under the age of 7 were waiting to be moved to long-term facilities, some for more than two weeks. In one photo, women and children appeared to be sleeping on the ground.
• Many adults hadn't showered despite having been held for as long as a month. Some were being given wet wipes.
The report was released a day after a group of Democratic congressmen visited the Border Patrol facility in Clint, Texas, where lawyers previously reported some 250 children being detained in squalid conditions.
US Representative Joaquin Castro of Texas, alleged that a woman told them she was instructed to drink water from a toilet.
Maryland Democrat Elijah Cummings said top Homeland Security leaders would testify next week on the treatment of migrant children.