Adds optional image resize (max width) on upload [#862 state:resolved responsible:dleffler milestone:2.1.1]