Activity Forums Salesforce® Discussions How to display an image in lightning component through static resource in Salesforce?

  • Piyush

    Member
    November 1, 2019 at 4:57 am

    Hi Heena,

    You can try this for help to display image in lightning component through static resource  :-

    <aura:component implements="flexipage:availableForAllPageTypes" access="global" >
    	<img src="{!$Resource.StaticResourceName}"/>
    </aura:component>

     

     

  • Heena

    Member
    November 2, 2019 at 1:37 pm

    Thanks, Piyush it helped me.

Log In to reply.

Popular Salesforce Blogs

Success Stories – How DemandBlue Helped Its Clients Improve Revenue Recognition with Salesforce Revenue Cloud Implementation

Blog in

Businesses that deal with subscription-based contracts, usage-based billing or other complex contracts face several difficulties in managing their billing cycle. Though Salesforce CPQ implementation does the heavy-lifting…

Popular Salesforce Videos