I wanted to confirm that is prayer accepted in a room where there are photos of animals or human beings, although the picture is behind you and you are not directed towards it.
It is reported by Bukhariy that Ibn Abbas (ra) had no objection in praying at Churches, except those churches, which had pictures in them. It seems that such reports have generally provided the basis of the concept that prayers should not be offered at places, where there are pictures.
However, in my opinion, as I have explained in a few of my earlier responses, the dislike towards and the prohibition of pictures mentioned in the narratives ascribed to the Prophet (pbuh) and his companions is related specifically to those pictures and images, which were worshipped by the people. This prohibition and dislike towards pictures does not apply to pictures of ordinary humans or animals.
In my opinion, therefore, a Muslim should avoid offering prayers at a place where there are such pictures and images, which are worshipped and revered by their followers. However, there is no harm in offering prayers in rooms, which have pictures of ordinary living or non-living things, which do not entail an element of worship and/or reverence attached to them.
I hope this helps.
November 25, 2001