I have created one form for storing the images, with field names, 'ImgData' - Name of pic and 'Image' - Image loaded.
Second form has a deluge script to fetch the image on the click of a radio button and the script is as below. It loads the image to the 'Add notes' field 'Ref_Image1'.
show Ref_Image1;
displayimg = Image_Database[ImgID == 4].Image;
if(displayimg != null)
{
displayimg = displayimg.replaceAll("/sharedBy/appLinkName/",zoho.appuri);
displayimg = displayimg.replaceAll("viewLinkName","All_Image_Databases");
displayimg = displayimg.replaceAll("fieldName","ImageName");
displayimg = displayimg.replaceAll("<img","<img height=200px width=200px");
}
info displayimg;
input.Ref_Image2 = displayimg;
The output is a box with question mark. The image is not loaded.