I wear glasses and have had full-on triangular fringe, wispy just-the-front fringe, layered fringe (the sort that goes with a cropped all over style), side-swept fringe, and no fringe at all.
They all work well with glasses, as long as you get the length right. A straight fringe needs to be fairly short, and a side-swept fringe needs to be fairly long.
My current style is a layered fringe, and I really like the way the stylist has cut it so that I have enough length in part of the fringe to wear it all side swept if I want, but enough layering and choppy bits so that it is light enough that I can also style it in different directions.
I think fringes work well on me because I have quite a square jaw, so they balance my face well. If you have a heart-shaped or triangular face, then glasses probably widen your face already, and a fringe could make it look top-heavy.
But it's only hair. Try it. If you like it, brilliant! If not, never mind, it will grow back.