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
Jay Choi 38Jay Choi 38 

Using image link to show image on Visualforce Page

Hi, I try to use image which is stored in Amazon Aws. 
So this link is like http://~~/s3.amazonaws.com/~~.jpg

I try to show this image on visualforce page with this link. 
How can I do it? 
Thank you!
AnudeepAnudeep (Salesforce Developers) 
Hi Jay, 

I suggest adding the .jpg link using the apex:image tag

You can refer to the following example although it references a png, using a jpg url should work as well
<apex:image id="theImage" value="{!IMAGEPROXYURL('http://somedomain.com/pic.png')}" alt="Description of image here"/>
You can also try doing it using a static resource
<apex:image url="{!URLFOR($Resource.TestZip, 'images/Bluehills.jpg')}" width="50" height="50" alt="Description of image here"/>
Let me know if it helps

Thanks, 
Anudeep