This simple plugin adds two additional fields to the media window, that lets you set additional classes to images on top of the default ones.
As of April 2026, Custom CSS classes for images is a WordPress media plugin with 100 active installations and a 5/5 rating from 3 reviews. It has been downloaded 4.3K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 10 years ago — may have compatibility concerns. Top alternative: Safe SVG.
This simple plugin adds two additional fields to the media window, that lets you set additional classes to images on top of the default ones.
After installation two fields will be added to the media window under an image, One for custom class for featured image, and the other for images who are added into the WordPress editor.
Multiple class should be seperated by “space”.
| WordPress | 3.0.1+ requiredTested up to 4.2.39 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.