Enable SVG Support on the Drupal Media Library

Enable SVG Support on the Drupal Media Library.

Install

https://www.drupal.org/project/svg_image

Install “Svg Image” and enable “SVG Image”. There’s no need to enable “SVG Image Responsive” unless you have a reason of course.

Configure

Allow SVG’s as a media type

  1. Go to: <siteurl>/admin/structure/media
  2. On Image, dropdown the edit menu and select “Manage Fields”
  3. Image [Edit]
  4. Add “svg” to the list of “Allowed file extensions”

Notes:

Requires Drupal Media Library extension.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.