Resize images and fix spacing and add extra line to end of files