'Chooses the best n images and returns them as a list.
If n<0, all images will be returned.'

def _getMultImages(self, images, n):

    image_urls = []
    pool = []
    for image in images:
        if (image.get('lang') == 'en'):
            pool.append(image)
    orig_pool_size = len(pool)
    while ((len(pool) > 0) and ((n < 0) or ((orig_pool_size - len(pool)) < n))):
        best = None
        highscore = (-1)
        for image in pool:
            if (tryInt(image.get('likes')) > highscore):
                highscore = tryInt(image.get('likes'))
                best = image
        url = (best.get('url') or best.get('href'))
        if url:
            image_urls.append(url)
        pool.remove(best)
    return image_urls
