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>

     

     

  • [adinserter block='9']
  • Heena

    Member
    November 2, 2019 at 1:37 PM

    Thanks, Piyush it helped me.

Log In to reply.

Popular Salesforce Blogs

Why Enroll in a Salesforce Administrator Course? Key Benefits for Your Career Advancement

Blog in

  In today's competitive digital landscape, organizations rely heavily on customer relationship management (CRM) systems to streamline their operations and build stronger customer relationships. As…

Popular Salesforce Videos