[SalesForce] Formula Field – Image from zipped static resource

I need some help with a Formula Field (please don't send me visualforce code) image.

I am trying to get the image from a zipped static resource.

BCIGraphics is the zip file.

Here is what I have tried:

IMAGE('/resource/BCIGraphics/RedLocked.png',"! Outside Window",50,50)

Best Answer

Try something like this:

IMAGE(CASE( Status__c ,  
 'Open', '/resource/status/green.png',  
 'Closed', '/resource/status/red.png',  
 'Planning', '/resource/status/yellow.png',  
 ''), "rating") 

http://luckytechshare.blogspot.in/2015/02/display-images-in-salesforce-reocrd.html

If it still does not work for you then check the path in zip file. Use View source and copy paste the SRC of image tag in the new tab and experiment with it.

Many times there is issue with path that is gendered.

Related Topic