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')}"/>
    </apex:facet> 
</apex:actionStatus>

<apex:commandButton 
      action="{!search}" 
      value="Search" 
      reRender="searchResults"    
      status="searchStatus"/>

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?

Answer

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.

http://www.force2b.net/index.php/2010/08/salesforce-icons/

Attribution
Source : Link , Question Author : Peter Knolle , Answer Author : techtrekker

Leave a Comment