-
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
What Are Salesforce Development And Integration Services?
Salesforce Development Services and integration solutions are redefining the way organizations achieve agility, efficiency, and scalability in today’s digitally driven marketplace. As technology advances and…
Transforming Customer Experience: Why Businesses Need a Salesforce Customer Portal in 2025
Customer experience (CX) is the actual competitive advantage in 2025. Customers demand immediate service, customized service, and convenience based on digital-first at all touchpoints. These…
Where is Salesforce DevOps Heading? Is it the Future, and if so How?
Salesforce DevOps is distinct. It enables efficiency and collaboration among shareholders that some other platforms just cannot provide. It’s not as if DevOps is extremely different from…
Popular Salesforce Videos
Data Import: Prepare your Data for Import | Salesforce
This short video walks you through how to clean up your import files in preparation for getting your data into Salesforce. We'll walk you through…
How to Prepare for a Salesforce Job Interview
Watch this video to learn how to Prepare for a Salesforce Job Interview.
How to Create a Salesforce Object Calendar
In this video, we show you how to create a calendar view for any object in Salesforce. This is a feature that can easily help…