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

renderer.sjssrc = 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.";
}by Admin on 21/04/2008 at 10:08 PM |
|