much better way of relacing the image content
removed unused styling stuff