You’re going to have to edit your functions.php
file and add a few lines.
This article has a better explanation. I suggest you try here if you haven’t already.
https://css-tricks.com/snippets/wordpress/allow-svg-through-wordpress-media-uploader/
Related Posts:
- Media sizes aren’t being created – server config?
- Background image resets after time (XAMPP)
- How to configure sub-domain for images on Debian Apache VPS?
- Local install not loading template images but is loading everything else XAMPP
- XAMPP Apache won’t start
- WordPress crop tool greyed out
- Limit image resolution on upload
- get_the_post_thumbnail_url with an unregistered size
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- How to crop image from image src in a specific size
- Resizing only featured images while uploading
- Adding upload button in metabox
- How do i upload an image and return the image id?
- How can I serve different images depending on screen size with wordpress
- Setting up a gallery with images and a zip download
- When inserting images into posts auto add a wrapping div
- Is it possible to prevent users from uploading small images?
- how to base64 encode images in wordpress template
- get_children – wp_get_attachment_image
- Generate fixed image sizes for different pages, eliminate sizes during upload
- How to add an image for unit testing?
- Setup A Default Featured Image
- Find posts without featured image? [duplicate]
- How do I add a featured image to a single post page?
- Custom image size not regenerating when image editted
- How can I autopopulate titles in the media library?
- Image still linked as attachment to page even though it has been deleted
- Disable wordpress image sizes generation
- Change the RSS feed image
- In media library images are not displaying run time [closed]
- Best option for photo/gallery handling?
- Frontend Post – Allow Only Image File Upload
- Plupload resize for worpdress
- File format of post image attachment
- How to display a different image size for mobile
- Photography Based Design – Multiple Images Per Post
- SEO images in Nextgen Galleries
- Remove Size images without use
- Woocommerce featured image of page – not product
- Can’t seem to attach uploaded image to post and set it as thumbnail
- Add an attribute to attachments
- Include caption underneath post images
- Domain Change with New Image Sizes
- How to prevent WordPress scaling large images down
- wordpress (woocommerce) add image to media library programmatically python
- wp_customize_image_control deprecated add_tab alternative
- How to translate get_intermediate_image_sizes?
- Change media URL (images)
- Problem with images when no dimension in the URL [closed]
- Why does WordPress convert my jpg’s to png?
- How do I get my main image to stretch the full length of the screen?
- How to make my site use HTTPS for images or how to insert images as relative paths?
- How can I use wp_save_image_editor_file filter?
- Featured Image or Post Thumbnail Displaying on index.php?
- How to set featured image from external url programmatically
- Add retina “2x” in attribute “srcset”
- Capitilize Alt/Title Tag in Image HTML, Reorder HTML Output
- How to display a sized image from Simple Fields repeatable field
- Hiding Media Source Links
- Calling two images at a time? A better way?
- Random Characters in the end of every image url in post
- resize and crop thumbnail photos
- Broken thumbnails (sometimes) with TimThumb
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- Is it possible to save crop to a different size of the image when in image editor?
- How do you change the fetched image of a PDF uploaded into WordPress Media Library?
- Apply manual image cropping not to thumbnail but medium_large size
- Hide or mask the url to an image
- Trying to change the URL of a product image once I upload it, but there seems to be no way to access the URL
- Trouble with Uploading and Displaying Images
- WordPress Multisite: Images moved to /sites/1?
- How can I insert and display copyright owner field on featured-images, pictures and galleries in articles?
- Image alt attribute
- wp_download_url() for dynamically generated image
- Non-existent child page URLs redirects to the image attachment URL instead of throwing 404
- Images not loading on wordpress.org site
- How to change img src in home-made theme, using WordPress` live customizer?
- Full size image from srcset ALWAYS used on mobile DESPITE setting size of image in editor
- Run function before uploaded image is saved
- WordPress not choosing the right image from srcset
- how to remove / hide ‘featured image’ option from side menu
- How to get attachements URL from author meta and display them?
- all images of past post messed up after changing theme
- image_send_to_editor filter – Unwanted paragraphs and line breaks
- Where is this folder [closed]
- Different image heights for different resolutions without distortion
- Get the name of an image [duplicate]
- Get an array containing ONLY post IDs of attached images
- Lots of attachments is causing slow load
- Image editor not working correctly
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- Aviary + WordPress Media
- Issues with the excerpt (wordcount/HTML/images)
- Display image title and caption inside a single post
- Admin bar stats widget plugin image broken
- Adding social share buttons for individual images on a web page
- How to get the attribues (alt and title) of an image import with ACF [closed]
- WordPress can’t get image url but both the attachment and the actual file are there
- How to have the frontend show the appropriate image size?
- Random images from uploads folder and subfolder