ice:graphicImage - Overview

The ice:graphicImage component allows developers to display dynamic images in their applications, which is useful when an image has to change depending on the state of the application and/or session. The basic h:graphicImage component is extended in ICEfaces to support additional ways to display an image, other than specifying its URL. In this demo, the two images below are loaded by different means. The first one is loaded via a Resource object, and the second one is loaded with the data of a byte array in the backing bean.



Source Code