I'm going to buck the trend and say that candidates with attractive photos are quite possibly actually more competent. When hiring, I consider the content of a resume and not its aesthetics. But the people who go the extra mile to add polish: An attractive, well-formatted resume; being well-dressed for an interview; and even adding polish to a photo - are likely candidates who express the added attention to detail I'…
If I want to hire a hard core algorithm coder or a top level security specialist, I might not consider a neat and polished resume a negative signal, but I certainly wouldn't consider a less polished resume a negative signal. Because my experience with the type of people that are very good at those skills is that many couldn't care less about their profile photo or the font they use on their resume.