I have a list of Wikipedia articles (my own history in my browser). I would like to draw a tree of my visits on Wikipedia, by drawing a line for each internal Wikipedia hyperlink. For a nice result, I would like to represent each node with the name of the article, and, for the articles that have at least one image in the body, an image extracted from the article.
Which image is the best candidate ? I noticed that there is sometimes an image named thumbimage, but this is not always the case.