-
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 is Salesforce for Nonprofits in 2024?
Salesforce for nonprofits is a game-changer in the world of philanthropy and social impact. This innovative platform harnesses the power of technology to empower nonprofit…
Explore How DemandBlue’s Revenue Cloud Offering Could Enhance Your Business Model
Does your business lack absolute transparency across your sales cycle, finance operations, and revenue channels? Maybe it’s time to improve your game. If you are…
Meet Astro, Codey & Friends | The Salesforce Trailhead Family
Salesforce changed the way people perceived business software when it launched in 1999. Marc Benioff, CEO of Salesforce, imagined making software easier to buy, use…
Popular Salesforce Videos
Salesforce Connect ( Cross-Org Adaptor ) | Salesforce Tutorial
This video will talk about external objects using Salesforce Connect, also known as Cross-Org Adaptor. 00:00 Introduction 00:29 Introduction to Cross Org Adapter 01:51 Create…
Florida DataTribe EA Virtual Salesforce Saturdays
Learn to teach so you can learn by teaching. The how why and when of the Florida DataTribe and their Einstein Virtual Salesforce Saturdays. Enjoy…
Data Archiving in Salesforce | Backup and Restore
Learn the techniques, patterns and strategies when it comes to handling data archiving, backup and restores. Watch this video and learn all about Data Archiving…