Add MIT License
Refactor image size calculation to allow for responsiveness