Is adding a new image class necessary for svg?

By default svg uploads are not allowed for posts, they are allowed for themes (in the admin panel). You can easily change which file formats can be uploaded by adding the extenstion to the authorized extensions site setting.

2 Likes