I am in a similiar situation as you OP. Been with DH 6 years now, married 3 and have no doubt he still loves me. Also no doubt he still must 'fancy' me - or as he points out he couldnt 'perform' if that were not the case.
Now whilst l accept all above l lately get the feeling that our sex life has got in a rut as it seems to be only him that ever wants sex now - l hardly ever feel like it but once we 'get going' as it were it is good. But left down to me l would rather just cuddle and go to sleep every night.
I do know what you mean - l have a poor body image having gained a stone and a half since we met which l cant seem to lose. So now l always feel he wants sex, rather than wants me iyswim. Also confidence is very sexy and l was extremely confident in my body in our first few years as l was in very good shape. Now l just dont want (to initiate) sex as l dont feel sexy.
I think what l'm trying to say is l think you need to feel sexy yourself or confident in yourself at least for a 'good' sex life. I personally hate my DH looking at my body now as l always wonder if he is looking at my flabby belly and thinking back to when l had a washboard stomach in its place
.
He says he doesnt think those thoughts but on the other hand l feel he doesnt look at me and think 'phwoarr - get over here now' anymore.
l think the only solution is to somehow get yourself back to a place where you feel attractive yourself (wording of your OP seems to suggest you definitely dont at the moment). Whether that be literally changing your body by weight loss/gain or exercise to one you are happier with or just working on your body image and learning to love the body you have. Sadly l am still battling with the former but if that fails l will have to start working on the latter.
Best of luck, just one last thing - please accept when your DH tells you he still fancies you/loves you etc as my DH occasionally says to me how wearing he finds it to be constantly doubted. I know it's not easy but please try and accept it at face value as that in itself can be a start to making you feel better.