-
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 financial services cloud?
This blog post takes into account the in and outs of Salesforce financial services cloud. The blog paves the way for you to understand everything…
4 Ways to Achieve Heroku-Salesforce Integration
Heroku provides a cloud application platform to create, run, and work with your cloud-based application. Heroku supports several programming languages like JAVA, Python, and PHP.…
Popular Salesforce Videos
The Rising Demand for Salesforce Experts | Salesforce Careers
With more than 500,000 organizations using Salesforce to drive key business results, the market is brimming with opportunities for Salesforce certified professionals. A quick job…
Salesforce Lightning Design System (SLDS) and Components
The Salesforce Lightning Design System (SLDS) helps you build applications with the look and feel of Lightning Experience without writing a single line of CSS.…
Salesforce enthusiasts welcomes you to the Trailhead! Skill up for the future.
A trailhead is defined as an outdoor space that is designated by an entity responsible for administering or maintaining a trail to serve as an…