fix <div> tag for images