function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<aura:component implements="flexipage:availableForAllPageTypes" access="global" > <img src="{!$Resource.StaticResourceName}"/> </aura:component>
<aura:component implements="flexipage:availableForAllPageTypes" access="global" > <img src="https://ankushdureja--dev2--c.cs68.content.force.com/servlet/servlet.FileDownload?file=00P1D000000Iiyd"/> </aura:component>
May I request you to be more specific on your requirement so that we can understand better of the requirement and can help you accordingly.
Assuming you want to display image from a static resource in the Lightning component.
You can create a very simple lightning component to display image from a static resource or attachment/file or a Static resource
Static Resource: If you are using attachment or file. View attachment and use that URL like this: Please let us know if you are looking for anything else other than this.
Hope this helps.
Kindly mark this as solved if the information is helpful.
Thanks,
Nagendra