CNET JS Code Documentation

Function: setCNETAssetBaseHref

This method resets the location of all the CNET image assets to your specified path. The images by default come from CNET's servers but you'll want to change this to be your own. Not only will this allow you to author your own images but it will speed up the experience for your users.

Download the assets

Syntax

setCNETAssetBaseHref(url);
 

Arguments

  1. url - (string) the path to the location of the unzipped files on your server