I have troubles with encoding (base64) an image I uploaded after submitting the form.
I got the source from the image, but when I'm encoding this source, I get an encoding string from the src as a string, but I want an encoded string from the image itself. Could you help me?
or_image = input.Taken_Image;
image = or_image;
img = image.replaceAll("/sharedBy/appLinkName/",zoho.appuri);
img = img.replaceAll("viewLinkName","Images_Report");
img = img.replaceAll("fieldName","Taken_Image");
img = img.replaceAll("<img ","<img height=200px width=200px ");
img = img.getsuffix("src");
img = img.getprefix("lowqual");
img = img.replaceAll("=", "");
img = img.replaceAll("\"", "");
encoded_image = zoho.encryption.base64Encode(img);