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
private HTMLServerImageHandler imageHandler = null;
	/**
	 * Web app context path.
	 */
	private String contextPath = null;
	/**
	 * Constructor.
	 * 
	 * @param config
	 */
	public ReportEngineService( ServletConfig servletConfig )
	{
		System.setProperty( "RUN_UNDER_ECLIPSE", "false" ); 
		if ( servletConfig == null )
		{
			return;
		}
		config = new EngineConfig( );
		
		HTMLEmitterConfig emitterConfig = new HTMLEmitterConfig( );
		emitterConfig.setActionHandler( new HTMLActionHandler( ) );
		imageHandler = new HTMLServerImageHandler( );
		emitterConfig.setImageHandler( imageHandler );
		config.getEmitterConfigs( ).put( "html", emitterConfig ); 
		
		String resourcePath = servletConfig.getServletContext( )
				.getInitParameter(
						ParameterAccessor.INIT_PARAM_BIRT_RESOURCE_PATH );
		boolean isResourceOk = true;
		if ( resourcePath == null || resourcePath.trim( ).length( ) <= 0