function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chris SYMETRIS TomassoChris SYMETRIS Tomasso 

Is there a way to generate a link to an image I can place in the <img src="" > of a html document?

Hello,

Is there a way to generate a link to an image I can place in the <img src="" >  of a html document?

This document will be hosted on one of our websites. currently I am not able to get a link that I can paste in to an <IMG> tag 

NOTE: I am using the API to fetch data from Salesforce. this is why I would like there to be a field in every product that will contain an valid src link to the products image. 
Nikhil Verma 6Nikhil Verma 6
I guess if the image is on a website then you can get the link by simply going to the image, right click and select "Open image in new tab" (this option is in chrome and I guess you should get similar options in other browsers as well). Then the URL in the new tab is your image URL that you can use.

Hope this helps.
Chris SYMETRIS TomassoChris SYMETRIS Tomasso
Thanks for the reply

Unfortunately this does not work. 
Let me go into more detail.

I have a product on salesforce.
This product has an image hosted on salesforce. 
I need a field that will contain a link to this image that I can use in the src in an <img> tag

At this moment if I right click the image(in salesforce) in a new tab, the browser downloads the image