Is It Permissible to Perform Prayer in a Room With Photographs, Toys, or a Mirror?

It is known from hadiths that angels do not enter places with images of living beings. Is prayer permissible in rooms with photographs? And if there is a mirror or toys in the room?