move scaleImage handler to /thumbnail