Herpes on thigh? (Graphic pictures)

These cluster of bumps have appeared out of no where. I’ve been searching online for an answer and it looks very similar to herpes but I’ve never heard of an outbreak happening on your thigh. can anyone confirm what this is

herpes can appear anywhere in the trunk region. on the groin, thighs, butt, anus, lower back etc. that could be herpes, eczema or contact dermatitis. do you wear pads? sometimes I get similar bumps from my pads. are you having any other symptoms?

Thanks for replying. I went to the doctor the other day and they told me it was a fungal infection and gave me some antifungal cream