Not sure if you’ve already done this, so forgive me if I’m telling you something you already know.
But WordPress doesn’t support SVG Uploads out of the box, so to speak. This is due to security issues that can be created when a user uploads SVGs with malicious code. Mainly, a problem if you let random visitors upload SVGs.
Sometimes builders like WP-Bakery or Elementor will let you upload them, but it always seems to be buggy.
I’d suggest installing something like SVG Support
It should work out of the box. If not play around with settings like “Inline SVG” if it doesn’t.
Related Posts:
- getting uploaded SVG dimensions on front-end
- Featured Image .svg height and width 1px only
- SVG Featured image not shown in twitter
- How to upload and style svg logo?
- How to make footer area transparent? Using Avada and WordPress [closed]
- Allow SVG in WP step by step
- Can’t find image to remove
- Hover a css icon width other color inside wp_get_attachment_image
- How to change a theme’s footer image
- change with CSS the color of an svg background image set with “background-image: url()”
- Can’t upload svg files in WordPress
- images map on website not working
- How to automatically add rounded corners to thumbnails?
- WP 4.4. responsive images browser choosing the “wrong” one
- Issue with wp_get_attachment_image() and SVG file type
- Retina images – custom syntax for inserting images into post content
- show author image in posts
- How to limit number of images being printer out in “Set Featured Image” pop up?
- Replace Woocommerce Images
- Dynamically add titles to post images if they are empty
- Pasting images removes class attribute
- How can I make all gallery images to open in a new window?
- Crop image without scaling or resizing with add_image_size()
- Cropping an image before inserting into a post
- SSL: How to make customizer images Protocol Relative in WordPress?
- Is there a way to pull the first featured image in a loop and not all other featured images?
- How to add qtranslate multi language support for media?
- Is it possible to recover featured images after WordPress export/import
- how to stop generating different image sizes from parser
- Change the URL of an image from wp_get_attachment_image_src
- Do I need to resize an image to fit the post?
- Link to large image version instead of original?
- After installing ssl certificate images won’t show
- Random Size on Featured Image
- Some images not found 404 in localhost
- wp_upload_bits does not retrieve images that do not have an extension
- Loose images in uploads folder
- Convert uploaded GIF to non animated image automatically
- Is it possible to split Default WP Media directory to multiple Folder/Subdomain?
- Add srcset and sizes to older uploads?
- How to make a gallery with dynamic images from URLs?
- Divi Theme – images not showing on front page [closed]
- Edit image results in copies of file being created
- Images in Media aren’t showing, not broken
- t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor
- Find and Use an image’s caption
- Export xml use/import images from theme directory
- Is it possible to change image size used for preview thumnail in Add Media popup
- Images showing in editor but not in post [closed]
- Why are featured images sometimes cropped, and sometimes not
- Bulk Upload Image Alt Text
- Call to undefined function wp_generate_attachment_metadata()
- the_post_thumbnail(‘medium’) setting some images width=1 height=1
- Help with resizing of featured images on WooCommerce homepage
- How to set uploaded image as featured image wordpress
- Why WordPress suddenly changed sizes of thumbnails?
- WordPress Featured Image meta box not showing
- Number of Style for Image Added into Post
- remove enclosure url from feed
- the_content not showing responsive image attributes srcset or sizes
- add_image_size not working
- How to change the value “uploaded to” in the media library (WordPress 4.0)
- Thumbnails different sizes
- How to remove the images from “Uploaded to this post”?
- For a complete backup, is it enough to copy htdocs and export database?
- What exactly is the description field when uploading an image?
- Photos automatically uploaded to Media Library
- Failed to load resource:404 image
- Slidedeck Pro WordPress Image Size
- Place image caption outside of figure tag (Gutenburg Image Markup)
- Featured image not shown in header
- Crop tool do not work
- Profile image does not upload
- Allow wp media library to check already selected images displayed in div
- How is called this thumbnail slider feature
- Auto Generate Thumbnail
- Images not loading on webpage, and links to other media give 404 Not Found
- Loading and Referencing Images
- ALT attribute in menu images
- Import images from old WordPress site into new site
- How to create interactive charts on WordPress?
- Images 404 after wp migration to a subdomain
- Using ACF Pro plugin – How to get alt tags using repeater with Image ID? [duplicate]
- How to compress thumbnails instead of cropping
- Custom image sizes quality
- built-in responsive images in content – do I need to add anything to functions.php?
- Pasted image and text in the editor doesn’t work
- Widget media uploader doesn’t opens after widget save
- Query Image File of a Different Size
- How to display image thumbnails on the search results page?
- How to modify images during upload
- Get custom size of thumbnails
- Why WordPress doesn’t show pictures when I upload them in a new post?
- Post-upgrade problems: Image URL in DB, but not showing
- greater flexibility in targeting images attached to page
- What does WordPress media uploader do to image files on upload?
- Site header logo and parallax image on homepage do not display on iPhone
- WP_Image_Editor – How to save the new size of the image in the sizes metadata
- Is is possible to append .webp to srcset images using wp_filter_content_tags()?
- Could a very long article slow down all website and wpadmin?