Thread:Talk:Wikimedia Apps/How are article images selected?

In the Android app, many articles have a "lead image" shown at the top of articles. How do these images get selected? Christiansborg Palace, for instance, has a quite good photograph in its infobox, but instead the rather meh map image underneath is shown as the article's lead image in the app. How come?