-
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

Aggregate Functions in Salesforce - The Developer Guide
In Spring ‘10, Salesforce released new Apex functionality for total functions in SOQL. These queries return an AggregateResult object. Utilize aggregate functions in a Group…

Salesforce DX Setup – Everything You need to Know
Salesforce DX Setup – Since inception, one of Salesforce’s core philosophies and the Big Idea has been to make building easy. The software should not…

Mastering Customer Support: 5 Transformative Strategies with Salesforce Service Cloud
This blog draws upon our extensive experience in the pharmaceutical industry to unveil strategies with Salesforce Service Cloud that can be tailored to accommodate the…
Popular Salesforce Videos
Pass Record Id into Flow from Record | Salesforce Tutorial
Passing record ids is a technique that every flow master needs to know to use flows to their full potential. In this video, we go…
Easy Way to Learn Salesforce | How to Learn Salesforce Step by Step
In this video on Easy Way to Learn Salesforce, you will learn introduction to Salesforce, how to learn Salesforce easily, Salesforce as Career and Growth,…
Which Objects are in the Salesforce Sales Cloud and Service Cloud?
Salesforce comes with a large number of standard objects that are integral to Salesforce, but you can also create custom objects. We’ve compiled a list…