As you have no problem with porn is the issue that he said you were the only girl who could get him hot and that's apparently not the case, or that these girls he was looking at were 'skinny' girls? Or both? Your boyfriend is in a relationship with you, not some chick from the internet. People have differing opinions on porn and its place, if any, in a relationship and that's something only you really know if you're ok with.
You said you had some minor health problems with the weight so if this is the kickstart you needed to address that so be it. There's no need to beat yourself up over if it's the 'right' reason or a 'good' reason as it's not the only reason.
As for the porn girls being skinny, variety is the spice of life - how many girlfriends do you know who have a 'type' but crush on guys who are the total opposite? It doesn't mean he finds you any less attractive - particularly when the 'other' girls are from internet porn!.

