Request for SVG support | WordPress.org

[ad_1]

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.

I have installed ‘Safe SVG’ for compatability.

Returns

 =>Invalid or not supported image URL

I deactivated Safe SVG, and added below constant & filter as suggested similarly in other thread for AVIF.

I tried below things.

define('ALLOW_UNFILTERED_UPLOADS', true);
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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer