4.10. Image store

In the menu "Image store" you can manage and upload images. Uploaded images can be used in the utilization maps. Size of uploaded image is only limited by PHP and MySQL settings. If you want to use a big image (>8MB), modify the PHP options: post_max_size, memory_limit and upload_max_filesize. The maximum supported image size is 16MB. Uploaded images are base64-encoded and stored in the MySQL database. This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean. Base64-encoded data takes about 33% more space than the original data.

Before storing image into a graphic (GD) library database, check if the graphic format is supported. Supported image formats are JPEG-JFIF Compliant format [JPEG], CompuServe Graphic Interchange format [GIF] and Portable Network Graphics format [PNG].

For each image you can specify name, group and type. Only three groups are recognized for use in the utilization maps. First is the "_UTILIZATION_MAP" (used for background image), the second one is the "_UTILIZATION_OBJ" (used as object image) and the third is the "_GRAPH_ICON" (used for graph icon). Utilization maps can work with transparent colors. Magenta color (#FF00FF in RGB model) is used as the transparent color.

Figure 4.24. Image store.

Image store.