An Image is always returned. If the Image can't be found then the usual "exclamation" image is returned instead.
Parameters
Parameter
Description
String imageName
The name of the image you wish to get.
Integer nAlphaPercentage [optional]
When specified it will retrieve an image and add an alpha blend at the given percentage. A smaller number would produce a lighter image. Specifying 100 would be the same as not specifying the parameter at all.
Examples
var image = system.getImage( "%DGIMAGEDIR%cert_12.gif" );
// Get hold of the same image but add an 50% alpha blend so its lighter in shade var imageDisabled = system.getImage( "%DGIMAGEDIR%cert_12.gif", 50 );