Image width/height attributes rewritter