-
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
Concept of Virtual and Abstract Modifiers in Apex | Salesforce Developer Guide
Implementing the Virtual or Abstract modifiers in the class makes it inheritable by any other class present in Salesforce. Let us understand each of them…
10 Essential Salesforce Deployment Best Practices
Salesforce Implementation versus Salesforce Deployment To the unenlightened, it may appear like the expressions "usage" and "sending" mean something very similar, in no little part…
What Is Data Loader In Salesforce and How To Use It?
Data Loader Overview Salesforce Data Loader is an instrument given by deals power to perform the following operation on the information. By utilizing Salesforce information…
Popular Salesforce Videos
Salesforce Work.com Overview Demo Video
Salesforce Work.com provides you with essential solutions designed to help businesses reopen the workplace as quickly as possible, while keeping employees, customers, partners, and communities…
Create a Multi-page App Using LWC OSS | Salesforce Lightning
The default LWC OSS project created using the create-lwc-app tool lets you create a single-page application. But did you know that by slightly modifying the…
Simple Salesforce to Salesforce Data Migration Step by Step | 100% Salesforce Native App
How to Migrate Salesforce Data? Create Template: As the name suggests, this is just like a sandbox template; these templates store template lines & various…