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

Popular Salesforce Videos