📜  ZOHO 通过图像的公共下载 url 显示图像 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:00.228000             🧑  作者: Mango

代码示例1
//The following is the syntax for the publicly accessible download URL of the image:
https://creatorexport.zoho.com/file//////image-download/?filepath=/


//The easiest way to get the download URL is by copying the image's address from the published //report, within which only the record ID and file name would be distinct between records.

//In order to fetch and construct the download URL of the image via the script, you may use the //following sample function:
string getImage(int id)
{
fet = images[ID == id];
var = fet.Image.getSuffix("downqual = \"").getSuffix("image/").getPrefix("\"");
img = "https://creatorexport.zoho.com/file////" + fet.ID + "//image-download/?filepath=/" + var;
return img;
}