function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Iswarya SekarIswarya Sekar 

Display image in lightning

Hi Guys,

I have created a formula field to display image if a candidatte is also a lead. But the image is not displaying in lightning. can anyone help me with this?
Please see the formula which i used,
IF( Candidate__c !='', 
IMAGE("sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_Png&versionId=06817000000Mp0y&operationContext=CHATTER&contentId=05T17000000XNXe", "" ),NULL )
Saravanan RajarajanSaravanan Rajarajan
Hi Iswarya,

It should be like this,

Please Put in Your image in Static Resource is name as image1.png

URL FOR IMAGE:
"/resource/image1.png"
 
IF( Candidate__c !='', IMAGE("/resource/image1.png","Target Enrolled"))

Please mark it best answer if it helps you.
Alex MartonAlex Marton
I am also facing the exact same issue as described by you. Let me talk to my friend and discuss the issue with him maybe he can fix it. Because he is a designer and he designs lots of custom business logos (https://www.logoexperts.ae/custom-business-logo-design-dubai/) So maybe he has an idea how to fix it.