Automatically resize images in a directory.  Currently working for OSX