* Static method to write out image with given code.
*/
public static void writeImage(Writer out, String code, String styleClass) throws JspException, IOException {
Info info = (Info)imageInfo.get(code);
if (info == null)
throw new UiException("Missing image description with code '" + code + "'");
String imageUrl = ImageFileImporter.getImportString(info.src);
writeImage(out, imageUrl, info.width, info.height, info.alt, styleClass);
}