add img styles to inline styles