Reply To: Images squeezed in responsive css
Hi,
There is a method to remove width and height of images inserted from contents editor via wordpress image tag.
Edit /framework/functions/framework-functions.php
Insert following just above line 2
add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10 ); add_filter( 'image_send_to_editor', 'remove_thumbnail_dimensions', 10 ); function remove_thumbnail_dimensions( $html ) { $html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html ); return $html; }
Thanks