def make_flickr_thumbnail_url(info, photo_id):
    """
    Construct a url for the flicker photo using id and photo information as
    returned by their api method getInfo().
    """
    farm = info['photo']['farm']
    server = info['photo']['server']
    secret = info['photo']['secret']
    thumbnail_url = 'https://farm{0}.staticflickr.com/{1}/{2}_{3}_m_d.jpg'.format(
        farm, server, photo_id, secret
    )
    return thumbnail_url