Husband trouble

Hi ladies,i would like to share my problen with you as i cant share it with anybody else.

My husband has some kind of addiction he likes thinking of him being with a man he also takes pictures of him naked and send it to other men online i discovered this after we got married and he said that when he was a lil kid a man tried to rape him but he ran away and when he reached 16 years old he started having this ideas to be with a man but he says his not gay i believd him and move on and decided to help him 2 year after i found some pictures he has taken and i know he has been chatting and sending photos i know my husband doesnt sleep with man cause his alaways around and doesnt realy go out without me but i was hurt and decided to leave him but he came back and he promised me that he will never do it again and that this matter is just somthing in his brain and he enjoys it and enjoy thinking of it but would never go ahead and do it now i have gave him another chance to change i would like to ask you ladies what is it!! Is he gay!!! Is he sick!!! Is it because of the thing that happend to him when he was a kid i i really dont know my husband is so good in bed and his also a normal man what should i do is this can be resolved or im just wasting my life!!! Im going crazy