resized images and restructured some html