MIDAS KnowledgebaseMIDAS Knowledgebase

Configuring your server to handle SVG images

Note: This article applies to self-hosted editions of MIDAS v4.09 or later

MIDAS v4.09 introduced a new optional "High Resolution" theme pack, ideally suited to users who view their MIDAS room booking and resource scheduling system on larger, high resolution displays.

This theme utilizes SVG (Scalable Vector Graphics) images in place of traditional .jpg and .png images.

Most modern web servers have support for SVG files enabled by default, however, if your server doesn't, this article will explain how SVG support can be quickly enabled:

For Apache Servers:

You can either configure SVG support in your server's main httpd.conf file, or on a per-directory level via .htaccess files:

Within your httpd.conf file (typically located at "apache/conf/httpd.conf"), there should be a <IfModule mime_module> (or similar) section. Ensure the following line is present within this section, and if its not, add it:

AddType image/svg+xml svg

You'll need to save your modified httpd.conf and restart your Apache server for the changes you've made to take affect.

Alternatively, you can add AddType image/svg+xml svg to the .htaccess file within the directory where your MIDAS system is installed.

For IIS Servers:

Open Internet Information Services (IIS) Manager and select "MIME Types". Click "Add" and enter the following:

Add SVG MIME Type to IIS

Click "OK" and then restart your IIS server for changes to take affect.

You might also be interested in...
» » »

← Return to Knowledgebase