Fixed bug that shows up in fresh installs because new image size might not return an array.
Squashed some bugs that show up in earlier versions of PHP, or during fresh installs of the theme. (i.e. can't assign function to variable)
Adding weather to gitignore as it's site specific