DisplayImages

From Protege Wiki
Revision as of 17:24, December 16, 2008 by TaniaTudorache (talk | contribs) (New page: = Display images in the ontology = There are different ways in which images can be displayed in the user interface of Protege 3.x. The most common case is that the value of a property or ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Display images in the ontology

There are different ways in which images can be displayed in the user interface of Protege 3.x. The most common case is that the value of a property or a slot contains a URL or a file path to an image file (e.g., jpg or bmp file). Instead of displaying the path as the value of the slot, you can use different slot widgets to display the image.

You will need to change the slot widget on the class form in the Forms Tab.

There are three slot widgets that you can use to display an image. All of them work both with Protege-OWL and with Protege frames. We will use as an example the Pizza ontology: we will add a property to class "Country" that will contain the path to an image showing that country.

Below, we describe the use of the three slot widgets for displaying images.

Using the Image Widget