Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Supporting organizations:
Initial development and support
Further development and support
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Content Editing Experience, Content Display, Media
- 75,872 sites report using this module
- Created by imyaro on , updated
- Drupal 10 is here!
Drupal 10 porting is done thanks to our fantastic community!
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
3.0.2
released 28 October 2023
Works with Drupal: ^9.3 || ^10
✓ Recommended by the project’s maintainer.
Minor fixes
Install:
Development version: 3.x-dev updated 26 Dec 2023 at 07:54 UTC
7.x-1.2
released 15 October 2018
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 29 Jan 2019 at 08:13 UTC