Finally fixed the positioning of the images to be properly sized and centered.