This snippes should remove the height
and width
attributes of the images:
https://gist.github.com/stuntbox/4557917
Maby you would extend the code to only strip out the attributes on images larger than 980px?.
This snippes should remove the height
and width
attributes of the images:
https://gist.github.com/stuntbox/4557917
Maby you would extend the code to only strip out the attributes on images larger than 980px?.