Bug 160641 Image from Fragments can not be preview
Details: Image from Fragments can not be preview Step: 1.New an image and select "Image file in BIRT resource folder" 2.Select the image that in Fragments. 3.Preview Actual result: The image can not be preview Excepted result: The image can be preview
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ImageItemExecutor.java
}
	
	public void close( )
	{
		finishTOCEntry( );
		closeQuery( );
		manager.releaseExecutor( ExecutorManager.IMAGEITEM, this );
	}
	protected void handleImage( ImageItemDesign imageDesign,
			IImageContent imageContent )
	{
		
		switch ( imageDesign.getImageSource( ) )
		{
			case ImageItemDesign.IMAGE_URI : 
				String imageExpr = imageDesign.getImageUri( );
				if ( imageExpr != null )
				{
					handleURIImage( imageExpr, imageContent );
				}
				break;
			case ImageItemDesign.IMAGE_FILE : 
				String fileExpr = imageDesign.getImageUri( );
				assert fileExpr != null;
				handleFileExpressionImage( fileExpr, imageContent );
				break;
			case ImageItemDesign.IMAGE_NAME : 
				String imageName = imageDesign.getImageName( );
				assert imageName != null;
				handleNamedImage( imageName, imageContent );