How To Remove The Height And Width Attributes In WP Image Uploader

Every time you use WordPress’ image uploader it automatically includes the image’s actual size (height and width) into the <img> tag.

While this is all well and good, it can be a bit of a nuisance especially if you’re using a responsive website design because renders your uploaded image un-resizable which kind of defeats the idea of a responsive web page.

To address this, Damien Oh‘s nifty WordPress trick teaches you how to prevent the image’s height and width attribute from being inserted into the tag the next time you use the WP image uploader. Get his TUTORIAL now.

Incoming search terms for the article:

Related Posts

Simple Chat Plugin

EWWW Image Optimizer

Twitter Cards PHP 1.1

Create An Effective RSS Feed With mPress WordPress Plugin