Nostr doesn't host images, so every post thay shows an image links you to another server. If I wanted to capture a bunch of people's ip addresses I could self host an image, include that image in a post, and then capture the ip address of the people that look at it (when they query it from my server).