def METHOD_NAME(designer, img_path=None, link=""):
    # Write info.pb
    info = DesignerInfoProto()
    info.designer = designer
    info.link = ""
    if img_path:
        info.avatar.file_name = img_path
    text_proto = text_format.MessageToString(info, as_utf8=True, use_index_order=True)
    return text_proto