How to Upload and Make Use of SVG Images in Joomla

Joomla is a popular content management system (CMS) that allows you to create and manage websites with ease. While Joomla offers excellent support for various image formats, there's often confusion about using Scalable Vector Graphics (SVG) images due to security concerns. In this blog, we'll walk you through the steps to safely upload and utilize SVG images on your Joomla website.

Why Use SVG Images in Joomla?

SVG images are vector graphics that can scale without losing quality, making them perfect for responsive web design. They are lightweight, which improves website performance, and they offer the flexibility to create logos, icons, and complex illustrations. However, due to potential security risks, Joomla doesn't allow SVG uploads by default. But with the right precautions, you can safely use SVGs.

Step 1: Ensure Your Joomla Version is Up to Date

Before you begin, make sure your Joomla installation is up to date. Keeping your CMS current is crucial for security and compatibility with new features.

Step 2: Backup Your Website

Always create a backup of your website before making any significant changes. This ensures you can revert to a previous state in case anything goes wrong during the process.

Step 3: Enable SVG Support in Media Manager

To enable SVG image uploads, you need to modify the Media Manager options. Follow these steps:

  1. Log in to your Joomla administrator panel.
  2. Go to 'System' -> 'Global Configuration'.
  3. In the 'Media' tab, find the 'Legal Image Extensions' field.
  4. Add 'svg' to the list of allowed extensions, separated by a comma.
  5. Save your changes.

Step 4: Install a Security Extension

To mitigate the potential security risks associated with SVG files, consider installing a security extension such as NoNumber's 'Advanced Module Manager' or 'Regular Labs' extension. These will help protect your website from malicious code embedded in SVG files.

Step 5: Upload SVG Images

With SVG support enabled and security extensions in place, you can now upload SVG images to your Joomla website:

  1. Navigate to the 'Content' menu and select 'Media'.
  2. Click 'Upload' to select your SVG file from your local storage.
  3. Once uploaded, your SVG image will be available in the Media Manager.

Step 6: Insert SVG Images into Joomla Content

You can use your SVG images in articles, modules, or templates. Here's how:

  1. Edit the article, module, or template where you want to insert the SVG image.
  2. In the editor, click on the 'Image' button.
  3. In the 'Image' dialog, select the 'Media' tab.
  4. Locate your SVG image and click on it to insert it into your content.

Step 7: Check the Frontend

After inserting the SVG image, save your changes and check your website's front end. Ensure the SVG image displays correctly and at the desired size.

Step 8: Monitor for Security Issues

Continuously monitor your website for any security issues, especially after enabling SVG support. Regularly update Joomla, and security extensions, and maintain best practices to keep your website secure.


Using SVG images in Joomla can enhance your website's aesthetics and performance. However, it's essential to follow the steps provided in this guide to ensure the security of your website. With the right precautions in place, you can enjoy the benefits of SVG images in Joomla without compromising your site's integrity.