Partilhar via


ImagesPath Element

Applies to: SharePoint Foundation 2010

Returns the HTTP path to the images directory for the project, including the trailing forward slash.

<ImagesPath>
</ImagesPath>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded

Example

The following example uses the ImagesPath element to specify the path for the Edit icon.

<DisplayPattern>
   <HTML><![CDATA[ <a href="]]></HTML>
   <URL Cmd="Edit" />
   <HTML><![CDATA[ " onclick='GoToLink(this);return false;' 
      target="_self">]]></HTML>
   <HTML><![CDATA[ <img border="0" alt="]]></HTML>
   <HTML>Edit</HTML>
   <HTML><![CDATA[ " src="]]></HTML>
   <ImagesPath />
   <HTML><![CDATA[ edititem.gif">]]></HTML>
   <HTML><![CDATA[ </a>]]></HTML>
</DisplayPattern>