Bug 143068 Update the way that viewer sets the image cache folder.
Use this code segment below to set image cache folder. HTMLRenderContext ctx = new HTMLRenderContext(); ctx.setImageDirectory("images"); HashMap map = new HashMap(); map.put(EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, ctx); task.setAppContext(map); The one related to 132063
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
{
			renderContext.setBaseURL( this.contextPath
					+ IBirtConstants.SERVLET_PATH_FRAMESET );
		}
		renderContext.setSupportedImageFormats( svgFlag
				? "PNG;GIF;JPG;BMP;SVG" : "PNG;GIF;JPG;BMP" ); 
		return renderContext;
	}
	/**
	 * Create PDF render context.
	 * 
	 * @return
	 */
	private PDFRenderContext createPDFrenderContext( )
	{
		PDFRenderContext renderContext = new PDFRenderContext( );
		renderContext.setBaseURL( this.contextPath
				+ IBirtConstants.SERVLET_PATH_RUN );
		renderContext.setSupportedImageFormats( "PNG;GIF;JPG;BMP" ); 
		return renderContext;
	}
	/**
	 * Run and render a report,
	 * 
	 * @param runnable
	 * @param outputStream
	 * @param format
	 * @param locale
	 * @param parameters
	 * @param svgFlag