refactor/auto-resize w/ canvas in file upload directive
grunt compile