Basically, the world today is so complex that anything that can be interpreted positively can also be evaluated negatively. After all, each coin has a flipside.
My personal experience is that one's own openness also generates such on the other side and one does not always have to assume negative intentions (discrimination, etc.).
I always attach my photo everywhere and had no negative experiences. Ultimately, what counts is what you do, how you think and what you want (and not how you look like). But of course, that can always look completely different from industry to industry.
Of course, if it is clear from the outset that it will be interpreted negatively to include one's photo (one is assumed to be trying to gain an advantage), then I would refrain from including the photo.