Correctly handle width/height attributes passing to html. Do not ignore width/height even if crop is not given