Simple function to go in your template.php file to keep Drupal from inserting height/width into image tags.
function themename_preprocess_image(&$variables) { | |
foreach (array('width', 'height') as $key) { | |
unset($variables[$key]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment