You need to sign in to do that
Don't have an account?
MRITYUNJAY PATEL 3
how to display the image in aura component
i want to display the image in aura component. i already create a static resouces and upload the file as zip format so what is the tag attribute
i am trying this
<img src="{!$Resource.weatherimages +'/weather-64x64-day/'+ v.R_Main.main_img + '.png'}"> </img>
weatherimages : it is is my resource name
weather-64x64-day : this is my zip folder
v.R_Main.main_img + '.png' : this is image name
Thanks in advanced
i am trying this
<img src="{!$Resource.weatherimages +'/weather-64x64-day/'+ v.R_Main.main_img + '.png'}"> </img>
weatherimages : it is is my resource name
weather-64x64-day : this is my zip folder
v.R_Main.main_img + '.png' : this is image name
Thanks in advanced
Have you checked this link?
https://www.forcetalks.com/salesforce-topic/how-to-display-an-image-in-lightning-component-through-static-resource-in-salesforce/
If it helps mark it as best answer.
Thanks!
This is checked but not solve my problem, i want to display multiple image