Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Svg Image

Security covered Maintenance fixes only 97,815 sites

This module allows you to use SVG images seamlessly with the standard Image field in Drupal. It enables you to upload and manage SVG files directly within image fields and formatters, offering options for rendering as `<img>` or `<svg>` tags, setting dimensions, and supporting responsive images.

This module changes default image field widget and formatter to allow use SVG image with the standard Image field.

Using SVG Image module you will not have to use another field type to load SVG image. Load SVG files into the Image field, it is not needed to create file field or special "SVG" type field.

Don't forget to add svg file extension into the list of the allowed image extensions in the field settings.

Features (beyond the main functionality):

  • Ability to select width and height of the image in formatter settings
  • Ability to render svg image as <img> or <svg> tags.
  • Responsive image support. Please activate svg_image_responsive submodule to get such functionality

If you met any problems with this module - feel free to create an issue.

Other modules:

  • SVG image field - Provides another field type used for SVG image uploading.
  • SVG Formatter - Module adds ability to display field with type "file" as SVG image.
Drupal 10–11

Ask your assistant about Svg Image

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • image Drupal core

Required by

5 tracked projects depend on this one

Activity

Tracked releases
10
Tracked since
Feb 2023
Latest release
6 days ago
Releases (12 mo)
3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.2.5 Stable 10–11 Oct 9, 2026
3.2.4 Stable 10–11 Jul 2, 2026
3.2.3 Stable 10–11 Jun 20, 2026
3.2.2 Stable 10–11 Aug 26, 2025
3.2.1 Stable 10–11 Jan 14, 2025
3.2.0 Stable 10–11 Dec 4, 2024
3.1.0 Stable 10–11 Sep 26, 2024
3.0.2 Stable 9–10 Oct 28, 2023
3.0.1 Stable 9–10 Feb 13, 2023
3.x-dev Dev 10–11 Feb 13, 2023