-
How to display an image stored in Document in a Salesforce Visualforce page?
Hii All,
I'm trying to display an image that is stored as a Document. Starting with the most basic example, I am using the following:
<apex:page standardcontroller="Document">
<apex:outputField value="{!Document.name}"/>
<apex:image id="theImage" value="!Document.Logo.jpg" width="100" height="100"/></apex:page>
Log In to reply.
Popular Salesforce Blogs
Steps to Secure Transaction using Transaction Security in Salesforce
Hi All! Here we will learn how to provide security in Salesforce when you perform any event of transaction like data export or import and…
Salesforce Einstein AI: Everything you need to know about AI for CRM
Introduction Have you ever wondered how YouTube knows exactly what video you want to watch? Or perhaps you’ve been humming a tune all day, only…
Popular Salesforce Videos
How Will Salesforce Career Look Like 3 Years From Now?
In this video, Shrey shares his opinions about How will Salesforce career look like 3 years from now. Watch and learn. If you have any…
Heroku | Salesforce Development Course
Knowledge of Heroku is also required to crack the Salesforce PD 1 Certification Examination. Let’s understand what Heroku is and what are its uses, in…
Dynamic Forms in Salesforce
Hello Everyone, in this video, we will talk about what the dynamic form is and how to work with the dynamic form in Salesforce. Watch…