If if have a 2 pictures in my room, of me and family members, and there most probably are women with pants in the background (by a ski resort). Would all my learning actually be batul?
What if I was turned sideways, and it was on my right?
Without getting into the issue of women wearing pants and it’s lack of tznius, a man is allowed to daven even if there are women wearing pants in front of him. The reason is because the woman is covered and no ervah is showing. The man should not look at the woman while davening because seeing her in this way can cause improper thoughts, nevertheless it isn’t considered as if there is exposed ervah in front of him.