This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Set IMG Class


TxTu Set Image Class is a WordPress plugin. The plugin is a filter for images found on your WordPress posts / pages.
Before displaying a post or page on your WordPress blog, it will search for images (identified by the tag).
It will then remove any height, width or align attributes found on the image. Depending on your setting, it will insert
class and id attributes in the images


  1. Unzip the plugin into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure in WordPress Options / Image Class


What image attributes does the “Set Image Class” plugin remove

It removes the HEIGHT, WIDTH and ALIGN attributes.

Does it permanently modify the original post/page?

No, it only modifies the post/page when it is rendered for viewing.

Contributors & Developers

“Set IMG Class” is open source software. The following people have contributed to this plugin.

Translate “Set IMG Class” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.