those pictures are extreme cases. you can get herpes wherever an open sore touched. it really likes mucos membranes like your eyes,nose,ears,mouth,gent. but it can also be on your buttocks, thighs, a patch on your arm(or anywhere else) that was open to infection because of a rash, your hands, your chin.
im thinking that perhaps who you were with was rubbing on that area of skin,irritated it and opened it up to infection when skin on skin contact occured.
shaving also opens you up to it as it irritates the skin.