Photos and video that showed young children isolated from their families and crying at a Shanghai hospital led to an outburst of anger online Saturday as China’s largest city struggled to contain an outbreak of the highly contagious omicron version of the coronavirus.

In the images, a series of hospital cribs, each holding several young children, appeared to be parked in the hallway of the Shanghai Public Health Clinical Center in the city’s Jinshan district. A video showed several of the children crying.

The images and video could not be independently verified, but in a statement, the health center said they were real and did not deny that parents with COVID-19 were being separated from their children.