Image Class
2,332 sites
Security covered
Drupal 10–11
This module allows you to add custom CSS classes to image fields in Drupal. This is useful for styling images, such as when using them within hCards to represent vCards.
Extends the Image formatter by adding an option to add an element class.
This is necessary when using a hCard to represent vCards, because then your image needs a class like photo, icon, or avatar.
Drupal 7 dependencies
Depends on
Dependencies of the latest stable release
- image Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.1 | Stable | 10–11 | Feb 7, 2025 |