JSF 1.2 Image Component

See Also

The Image component Image component icon provides a way to add an image, such as a JPEG, GIF, or PNG file, to a Visual Web JSF page.

When you drop the image on your page in the Visual Designer, you see a simple box with the word Image in it. If you right-click this box and choose Set Image, you see a dialog box that you can use to specify the image in three ways:

Another way to add an image to your page is to drag its file node from a file explorer dialog to your page. For example, if you open the Microsoft Windows File Explorer and navigate to a GIF image, you can drag its node to your page and drop the image file where you want it to appear on the page. The IDE adds the file to your resources directory, which you can see under the project-name > Web Pages folder in the

After dropping the component on your page, you can select the component and edit its properties in the Image component's Properties window. If necessary, right-click the component and choose Properties to display the Properties window. In addition to the properties described above that specify the image to be displayed, some typical properties you might set are:

You can also right-click the component and choose one of the following options:

See Also
Image Component Properties Window
Binding Component Properties
Working With Components
Component Tasks: Quick Reference
About the Visual Web Palette

Legal Notices