Added image resizing with a max width of 400 and a target height of 150. Fixes #39