Resize image on the fly with node js and Bluemix