def ThumbURL(image, viz_params=None):
    """Create a target url for tumb for an image.
    """
    if viz_params:
        url = image.getThumbURL(viz_params)
    else:
        url = image.getThumbURL()
    return url