TextformatterFluidImages by Netcarver

Removes the height attribute and adds a class to img tags. Set max-width:100% for the class in your CSS and you have fluid images.


A textformatting module for ProcessWire that strips the height attribute from any <img> tag and adds a configurable CSS class. By default, the class image-width-control will be used.

To complete making the image tags fluid, add the following to your stylesheet

.image-width-control {


This is based upon the RemoveHeights textformatter by Diogo Oliveira.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #531
    In the 531st issue of ProcessWire Weekly we’ll check out the latest weekly update from Ryan, introduce new third party modules, and more. Read on!
    Weekly.pw / 13 July 2024
  • Page List Custom Children module
    This simple module gives you the ability to customize the parent/child relationship as it appears in the admin page list, enabling child pages to appear under more than one parent.
    Blog / 28 June 2024
  • Subscribe to weekly ProcessWire news

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer