Updating style to include image positioning.