Remove width and height from img tag in Drupal output (for certain content type) I want to remove width and height properties from img tags in certain content type

Currently it show's like this

&lt;img src="http://somesite.com/dostavka-slider-ng.jpg?itok=KDymQiug" width="938" height="300" alt="blablabla" title="blablabla" /&gt;


but I want

&lt;img src="http://somesite.com/dostavka-slider-ng.jpg?itok=KDymQiug" alt="blablabla" title="blablabla" /&gt;
function mytheme_preprocess_image(&amp;$variables) {
  foreach (array('width', 'height') as $key) {
    unset($variables[$key]);
  }
}


copy this on template.php (replace "mytheme" to ur theme name) but you need to control over this because it will remove dimensions of all images in your theme.