Adding Images (4.4.2)

This article applies to versions 4.5.0 and earlier of P2 Server. For the latest version, see Adding Images.

Icons (and other images) are a useful tool to help people more easily identify certain types of information. 

You can add images to P2 Server Management and assign those images to templates.

Adding an Image

To add an image to P2 Server Management:

1. Open P2 Server Management, and click the Configuration configurationicon icon. 

2. Click the Images image-icon1 icon.

3. Select a group from the Image Group drop-down list.

4. Add your images using either drag and drop, or click the drag and drop box to browse from your computer. 

Note: You can add multiple images at a time if you wish. 

images1

Note: From version 4.4.6, the maximum file size can be specified in the configuration file. The default is 5MB.

4. After your images have been uploaded, they will be displayed below the drag and drop box. You should now check that you images have suitable names and descriptions, and make any necessary changes.

Related: Reserved Characters & Keywords

Items are ordered by the order in which they were added, so the last one added will appear at the bottom of the list.  

images2

 6. When you have finished, click the Save button in the top right corner.

P2 Server will automatically create thumbnails for your images for use on the Hierarchy and Entity pages.

 

Making Your Images Appear in Hierarchies

One of the most useful things you can do with images is to have them appear as icons in the Hierarchy. P2 Server will automatically do this for you, if you assign the image to a primary template

Related: Changing the Primary Template of an Entity

1. In P2 Server Management, click the Configuration configurationicon icon. 

2. Click the Templates template-icon icon.

3. Select a template from the list and edit it. In the Icon field, select the icon you want from the drop-down list, and click Save when you have finished.

templateicon

Now, whenever you see an entity with this template applied as the primary template, you will see this icon in the Hierarchy and Entity Overview pages.

Image appearing in the Entity Overview page:

entity-overview-icon

Image appearing in the Hierarchy:

hierarchy-icon

 

Comments are closed