*Required* - Add Code to header.tpl

VERSION 1.4 AND ABOVE

Add the following code to the <head></head> section of the header.tpl file (/templates/{template}/header.tpl) for your active client area template:

<script type="text/javascript" src="templates/{$template}/js/productimage.js"></script>
<link href="templates/{$template}/css/productimage.css" rel="stylesheet" />
<script type="text/javascript" src="templates/{$template}/js/jquery.jcarousel.min.js"></script>


VERSION 1.3.7 AND BELOW

Add the following code to the <head></head> section of the header.tpl file (/templates/{template}/header.tpl) for your active client area template:

<script type="text/javascript">
function productImageError(image) {
   image.onerror = "";
   image.src = "modules/addons/productimage/product_images/noimage.png";
   image.alt = "Image not available";
   return true;
}
</script>
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Server Modules with an overview.tpl File

Some server modules use a custom file called overview.tpl (located in...

Theme Six Client Area Template – Clientareaproducts.tpl

VERSIONS 1.4 AND ABOVE To add product images to the list of active products/services...

Customization of jCarousel (Image Carousel and Scrolling)

In Product Image Module versions 1.4 and above, components of the jQuery plugin jCarousel have...

Theme Six Client Area Template – Clientareaproductdetails.tpl

VERSIONS 1.4 AND ABOVETo replace the default image that appears on the client area product...

*Required* - Add Code to footer.tpl

VERSION 1.4 AND ABOVEAdd the following code directly above the line {$footeroutput} in the...