Inserts an image thumbnail with a link to the full size image.
Usage:
[{Thumbnail src="image file name"}]

renderer.sjs
src = extension.getAttributeValueByName("src");
if(src!=null)
{
src = new String(src);
if( src.indexOf('/')!=0 )
{
src = "/"+pageName+"/"+src;
}
parts = src.split(".");
thumbnail = parts[0]+".thumbnail.png";
data = "
";
return data;
}
else
{
return "Invalid Image. No src attribute given.";
}