Merge pull request #3 from coop182/master

Pushing vendor folder into repo
Changes to the way sizes are handled
Fixed small problem
Changing syntax to try and make this work on PHP 5.3.3
Removed dependency on PHP 5.4 function getimagesizefromstring
Merge pull request #2 from fclukwebdev/master

Update to latest