The photo looked like a photo of a hospital nursery as there were 4 newborns lying down in it which Rick could tell right away it was the four of them as newborns. Luckily he could tell that Emily would be human again, he'd be a boy (based on the name of one baby being Rick) and James being a girl once again (same reasoning).
In a flash the four of them were transported sure enough to a hospital nursery along with other crying/screaming babies. Rick even felt he was in a wet soggy cloth diaper which caused him to cry loud just as well. He then noticed Emily, Lucy and Jamie doing the same.
4 nurses then came to calm them down as they continued to cry their tiny newborn eyes out.
Rick then wondered if they came from the same mom as quadruplets or had some other combination with different parents. It didnt take him long to find out they were..