Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Svg Image

89,773 sites Security covered Drupal 10–11
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

  • image Drupal core

Required by

4 tracked projects depend on this one

Activity

Tracked releases
6
Tracked since
Sep 2024
Latest release
1 month ago
Releases (12 mo)
2 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
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