Title: Request for SVG support
Last modified: December 24, 2022

---

# Request for SVG support

 *  Resolved [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/request-for-svg-support/)
 * Hello!
 * I am trying to import my SVG logo in my subdirectory WP where I have exmage installed.
 * The Logo URL successfully returns 200. There is no firewall or anything that 
   can block.
 * `https://www.gulshankumar.net/wp-content/uploads/2022/10/logo.svg`
 * I have installed ‘Safe SVG’ for compatability.
 * Returns
 *     ```wp-block-code
       https://www.gulshankumar.net/wp-content/uploads/2022/10/logo.svg =>Invalid or not supported image URL
       ```
   
 * I deactivated Safe SVG, and added below constant & filter as suggested similarly
   in [other thread](https://wordpress.org/support/topic/avif-support-2/) for AVIF.
 * I tried below things.
 *     ```wp-block-code
       define('ALLOW_UNFILTERED_UPLOADS', true);
       ```
   
 *     ```wp-block-code
       add_filter( 'exmage_get_supported_mime_types', function ( $mime_types ) {
       	$mime_types[] = 'image/svg';
   
       	return $mime_types;
       } );
       ```
   
 * Again, same issue.
 * Could you please include support for SVG in exmage? It’s very common format.
 * Thanks in advanced

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/request-for-svg-support/#post-16317736)
 * Oh my bad. The mime-type was wrong. It should be `image/svg+xml` instead of `
   image/svg` 🙂
 * **Solution**
 * If anyone is looking for SVG support, try this. It works for me.
 *     ```wp-block-code
       add_filter( 'exmage_get_supported_mime_types', function ( $mime_types ) {
       	$mime_types[] = 'image/svg+xml';
   
       	return $mime_types;
       } );
       ```
   
 * Thanks! This plugin is life saver.
    -  This reply was modified 3 years, 8 months ago by [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/).
 *  [villasupport](https://wordpress.org/support/users/villasupport/)
 * (@villasupport)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/request-for-svg-support/#post-16317810)
 * I appreciate you telling us this. Please get in touch with us if you require 
   any additional assistance.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Request for SVG support’ is closed to new replies.

 * ![](https://ps.w.org/exmage-wp-image-links/assets/icon-256x256.gif?rev=3081768)
 * [EXMAGE - WordPress Image Links](https://wordpress.org/plugins/exmage-wp-image-links/)
 * [Support Threads](https://wordpress.org/support/plugin/exmage-wp-image-links/)
 * [Active Topics](https://wordpress.org/support/plugin/exmage-wp-image-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exmage-wp-image-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exmage-wp-image-links/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [villasupport](https://wordpress.org/support/users/villasupport/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/request-for-svg-support/#post-16317810)
 * Status: resolved