From the pictures I have seen you are not ugly. Quiet the opposite actually. I don't know how you live your day to day life but maybe what you need is some positive reinforcement in the real world. Both my husband and I are homebodies. I don't go out much, but every now and then I need to to have the outside world remind me who I am, so I go out to a club or whatever to get the positive feedback I need. For me this helps keep my self-confidence and self-image up.
Also, try to focus other good qualities about yourself besides your appearance. What things are you good at? What makes you special? I make music, and when I make something that I think is really good I feel very good about myself. I completely forget about about all the little things about myself that have a tendency to get me down.
Also, there are such things as bad days, and when they pop up it is easy to forget about the good ones and think you feel this way all the time.
I hope you will feel better soon.