Image size function to prevent mistakes
Merge pull request #3 from gcw07/master

Image size function to prevent mistakes