added support for systems without file_get_contents. Also added a mimetype check to prevent the extension from sending anything except png/jpeg to tinify-api #2
Sorry for the whitespace changes. We have quite strict, automatted coding style guidelines. (If you didnt know: try appending ?w=1 to the url in your browser window to ignore whitespace changes)
Sorry for the whitespace changes. We have quite strict, automatted coding style guidelines. (If you didnt know: try appending ?w=1 to the url in your browser window to ignore whitespace changes)