implements option to remove width and height attributes from the image