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
IReportRunnable runnable, String documentName, Locale locale,
			HashMap parameters ) throws RemoteException
	{
		assert runnable != null;
		
		IRunTask runTask = null;
		synchronized ( this.getClass( ) )
		{
			runTask = engine.createRunTask( runnable );
		}
		runTask.setLocale( locale );
		runTask.setParameterValues( parameters );
		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( ) );
		runTask.setAppContext( context );
		
		try
		{
			runTask.run( documentName );
		}
		catch ( BirtException e )
		{
			
			AxisFault fault = new AxisFault( e.getLocalizedMessage( ) );