-
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
Employee Onboarding Made Easy With Walk-Throughs on Salesforce-Powered Communities
We are currently in the midst of a learning revolution. Technology has given us the tools to build learning programs that meet individual learners where…
Salesforce Engage: Ideal Link Between Marketing and Sales
The cohesion between the marketing and sales teams is vital in the business world as it allows concerted efforts, speeding up sales cycles, and optimizing…
Integration with Okta (User APIs) in Salesforce
1. User Fetching from Okta - Get User API - API URL - https://{!comapny}.okta.com/api/v1/users/{!username} Method - GET Headers - Accept, application/json Authorization, SSWS token Content-Type,…
Popular Salesforce Videos
How Can Salesforce Marketing Cloud Help You Grow Your Business Exponentially?
Salesforce Marketing Cloud can help you take your marketing to the next level by providing an all-in-one platform that helps you strategize across multiple channels.…
Integer Datatype | Primitive Datatypes in Apex | Salesforce Development Tutorials
Shrey covered the following questions in this video: What are the different types of Datatype? What are Primitive Datatypes? What is the Long datatype? What…
Easy Salesforce Lightning Experience Tricks for Admins
Learn how to enhance the screens for your end users by leveraging Related List - Quick Links, Report Charts and dynamic filters to show the…