Autoscale uploaded images