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
runAndRenderTask.setLocale( locale );
		if ( parameters != null )
		{
			runAndRenderTask.setParameterValues( parameters );
		}
		runAndRenderTask.setRenderOption( option );
		HashMap context = new HashMap( );
		
		context.put( "org.eclipse.birt.data.engine.dataset.cache.option", 
				Boolean.TRUE );
		context.put( EngineConstants.APPCONTEXT_BIRT_VIEWER_HTTPSERVET_REQUEST,
				request );
		context.put( EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
				ReportEngineService.class.getClassLoader( ) );
		if ( ParameterAccessor.PARAM_FORMAT_PDF.equalsIgnoreCase( format ) )
		{
			context.put( EngineConstants.APPCONTEXT_PDF_RENDER_CONTEXT,
					createPDFrenderContext( ) );
		}
		else if ( htmlRenderContext != null )
		{
			context.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
					htmlRenderContext );
		}
		else
		{
			context
					.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
							createHTMLrenderContext( svgFlag, request
									.getServletPath( ) ) );