removing duplicate height and width attributes on images