Show image when select a product.

Show image when select a product.

I'm trying to show the image in my field image when I select the product. 




I insert this code into my Product Lookup.

//Fetch Product Record
product_info = Products[ID == row.Product_Name];
/*Image field has two types of output when queried through the script. 
The uploaded file doesn't return the correct script like the one that was
stored with the link. So, there is an additional script involved to get the correct image URL*/
//Remember, Product_Image used below is the Image field's deluge name in the Products Form
product_image_display = product_info.Image;
if(product_image_display.contains("sharedBy"))
{
src = product_image_display.getSuffix("src");
src = src.getPrefix("border").trim();
src = src.getSuffix("\"").trim();
src = src.getPrefix("\"").trim();
if(src.contains("sharedBy"))
{
image_name = src.getSuffix("image/").trim();
src = " https://creator.zoho.com" + zoho.appuri + "Product_View/" + product_info.ID + "/Image/image-download/" + image_name;
product_image_display = "<img style='width:250px;'  class='thumbnail img-responsive' src='" + src + "' />";
}
}
input.image_Product = product_image_display;





But when i select nothing is happening.