This module adds custom classes to image fields.

Introduction: Extra Image Field Classes module allows site builders to easily apply css classes to image field.

How to add custom classes to image field:

1. Go to "Manage Display" of an entity type
2. Select "Extra Image Field Classes" format from Format column for image field
3. Click on settings wheel of the image field
4. Enter css classes in Image Class textfield
5. Click "Update" button
6. Remember to click "Save" button after making necessary changes.

It is now compatible up to Drupal 11, thanks to our volunteers!

Supporting organizations: 
Drupal 8 Development
Drupal 9-11 Development & Maintenance

Project information

Releases