-
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
Salesforce Summer’24 Release for Administrators
In this article, we'll take a look at what changed this summer and what new things now await Salesforce admins when customizing Salesforce CRM. Add…
Salesforce Lightning Scheduler Mastery In 2025
Salesforce Lightning Scheduler is a powerful tool that can revolutionize how your team schedules appointments and manages resources. In 2025, mastering this tool is crucial…
How Can Nonprofits Protect Their Data? | Salesforce Nonprofit Cloud
Security breaches that are both likely to arise and have the potential to cause significant harm are classified as prime importance. Many nonprofit organizations collect…
Popular Salesforce Videos
Traditional AI vs Generative AI | What the difference? | Salesforce
Explore how traditional AI differ from Generative AI from this extract from our latest webinar! We're going to explore the strengths and not-so-strong points of…
What is Apex? | Way to become a Salesforce Developer | Salesforce Development Tutorials
This video will provide you a complete path to become a Salesforce Developer. It includes very important and beneficial topics like Apex, Visualforce, Lightning. …
Journey To A Salesforce Solution Architect
A Salesforce Solution Architect must master a number of skills to be able to solve complex business requirements. In this session, we will cover 10…