Replace images and style text box