bash script for resizing and optimizing images

todo:
* figure out cli imageoptim
* use git pre-commit to run automatically