def url_path(data_type, instance_id):
    """
    Build thumbnail download path for given data type and instance ID.
    """
    data_type = data_type.replace('_', '-')
    return 'pictures/thumbnails/%s/%s.png' % (data_type, instance_id)
