Building Content Management Systems
& e-Business Solutions

Code Snippets: Replaceable Image Area

This module creates a place holder on the page where an image file can be displayed.

Features

  • Developers may set a default image file the way that they would normally insert an image into an HTML page during the design phase.
  • Website owners can replace the current image file any number of times - and on any page  (i.e.: each page of the site can have a different image file on display).
  • The owner of the website may declare an image as sitewide, thus forcing it to appear on each page of the site where this module is present.

User Documentation

Website owners are advised to order graphics from their developer via the "request support" button at the bottom of the page.  Information about the "request support" button is available here.

Code

The image you insert between the clearsite tags will become the default for this replaceable image area when a new page is created.  This image will aslo be used for new page previews.

<clearsite:hidden module="imagearea" name="imagespace1" default="placeholder.jpg">
    <img src="placeholder.jpg">
</clearsite:hidden>

    Copyright Clear Site Web Solutions Corporation  |  Victoria, B.C. Canada