Include images and other template graphics and assets

Expand / Collapse
 
     

Include images and other template graphics and assets


All images that will be included as part of the template should be referenced using a relative folder called images. For example a logo could be placed using the following code:

 

<img src=”images/logo.gif” alt=”Company logo” width=”200” height=”200”>

 

It is important to use a relative folder with the name images as this is replaced with the correct path when a template is added to the CMS.

 

Any other assets (like downloadable documents that are not part of the CMS Asset Library) should be referenced using a relative folder called extras. For example, a PDF document could be referenced using the following code:

 

<a href="extras/aboutus.pdf">Link to "About Us" PDF</a>

 

It is important to use a relative folder with the name extras as this is replaced with the correct path when a template is added to the CMS.

 


Tags:

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:10th November 2008
Last Modified By: Administrator
Type: HOWTO
Article not rated yet.
Article has been viewed 530 times.
Options