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
{
			setting.setOutputFormat( IBirtConstants.PDF_RENDER_FORMAT );
			setting.setActionHandle( new ViewerHTMLActionHandler(
					reportDocument, -1, locale, false, rtl ) );
		}
		else
		{
			setting.setOutputFormat( IBirtConstants.HTML_RENDER_FORMAT );
			boolean isEmbeddable = false;
			if ( ParameterAccessor.SERVLET_PATH_FRAMESET
					.equalsIgnoreCase( request.getServletPath( ) ) )
				isEmbeddable = true;
			setting.setEmbeddable( isEmbeddable );
			setting.setHtmlRtLFlag( rtl );
			setting.setInstanceIDs( activeIds );
			setting.setMasterPageContent( masterPage );
			setting.setActionHandle( new ViewerHTMLActionHandler(
					reportDocument, -1, locale, isEmbeddable, rtl ) );
		}
		renderTask.setRenderOption( setting );
		renderTask.setLocale( locale );
		InstanceID instanceId = InstanceID.parse( reportletId );
		
		try
		{
			renderTask.setInstanceID( instanceId );
			if ( format.equalsIgnoreCase( ParameterAccessor.PARAM_FORMAT_PDF ) )
				renderTask.render( );
			else
			{