It should go without saying, but worth reminding that photos contain EXIF metadata that often contains the precise GPS locations they were taken in. Many online services make sure to wipe it out. But not everyone. Some might use for fingerprinting people’s locations. https://www.wired.com/story/how-to-stop-your-photos-giving-away-your-location/
Your Photos Are Probably Giving Away Your Location. Here’s How to Stop That

All your snaps come with metadata containing more information than you might realize.

WIRED

@preslavrachev even without the GPS data the background of pictures is often identifiable.

If you post it publicly, someone else can figure out where you were.