Help with code to view an image in a stateless form
Help with code to view an image in a stateless form
I've read the reply by Gregg and Herb, but still can't get the code to work.
<field type> Note:
Here is how it's adapted from an user input.
<Description> <on user input>
Parts = Master_Inventory [ID = input.Description];
if (Parts.Image.contains("/image/"))
{
alert(Parts);
Image_filename = Parts.Image.getSuffix("image/").getPrefix("border").replaceAll("\"","").trim();
Image_link = "
https://creator.zoho.com/zoho_alan18/atelier/Manage_My_Inventory_Add/"
+ input.Description + "/image/image-download/" + Image_filename;
Catalog_Image = "<img src='" + Image_link + "'/>";
}
here is the link if it's copied directly from the My_Inventory Form.
https://creator.zoho.com/zoho_alan18/atelier/Order_Inventory/1661776000000146412/Image/image-download/1407031917867_Bracket_with_magnet_for_ODC59.jpg
//
here is the link copied from the Manage_My_Inventory_Add Form.
https://creator.zoho.com/zoho_alan18/atelier/Master_Inventory/1661776000000146412/image/image-download/1407031917867_Bracket_with_magnet_for_ODC59.jpg
The response is simply a broken link message.