Find your content:

Search form

You are here

Is there a list of Salesforce images that can be used in custom pages and formula fields?


I have a Visualforce page that includes some Ajax functionality as follows:

<apex:actionStatus id="searchtStatus" stopText="">
    <apex:facet name="start">
       Searching....<img src="{!URLFOR($Resource.res, 'img/loading.gif')}"/>


Alternatively, I could have just linked directly to the Salesforce image in the facet as follows:

<apex:facet name="start">Searching....<img src="/img/loading.gif"/></apex:facet>

I did not do that because I could not find a list of Salesforce published standard images and, therefore, was not confident that the /img/loading.gif would always be present. I did see that there are some references in the IMAGE formula examples to images located in /img/samples/.

Is there a list of Salesforce images that can be referenced safely in custom pages and/or formula fields?

Attribution to: Peter Knolle

Possible Suggestion/Solution #1

Well, I was also referencing those links earlier and found that some of them no longer work and others don't have all the images.

You can still look at all the CSS files provided by Salesforce and refer images within them. I just did it and compiled it on my blog here:

Attribution to: Anshul

Possible Suggestion/Solution #2

Here's a very good one that has most of the Salesforce standard icons. You can right view source for the paths of the images.

Attribution to: sfdcFanBoy

Possible Suggestion/Solution #3

I would put using images that salesforce use to render stuff in the same broad bucket as screen scraping.

Whilst this may work okay, there isn't a way to warranty against breakage some day.

(I've used the sfcti js resource for CTI and the locations have changed twice in the last 12 months, there isn't a way to tell when they changed except for when users discovered CTI won't work anymore, therefore this approach surely has its perils)

Having said all this, a quick google search threw up this page which seems to catalogue quite a few images / icons.

Attribution to: techtrekker

Possible Suggestion/Solution #4

There are lots of images included in the Salesforce Design System.

Also, this page might help with using Salesforce Design System with Visualforce:

Attribution to: Robs

Possible Suggestion/Solution #5

You might also check out graphics pack from Salesforce labs on AppExchange. Lots of examples and icons: link

Attribution to: ReidCarlberg

Possible Suggestion/Solution #6

The official Salesforce help documentation has examples using the image formula function with images hosted on the Salesforce servers. I would expect that these images are reliably going to be there. There aren't many but they are great for status, ranking or health related images.

  • /img/samples/color_green.gif
  • /img/samples/color_yellow.gif
  • /img/samples/color_red.gif


  • /img/samples/light_green.gif
  • /img/samples/light_yellow.gif
  • /img/samples/light_red.gif


  • /img/samples/rating1.gif
  • /img/samples/rating2.gif
  • /img/samples/rating3.gif
  • /img/samples/rating4.gif
  • /img/samples/rating5.gif


  • /img/samples/stars_000.gif
  • /img/samples/stars_100.gif
  • /img/samples/stars_200.gif
  • /img/samples/stars_300.gif
  • /img/samples/stars_400.gif
  • /img/samples/stars_500.gif

Attribution to: Daniel Blackhall
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content