scale down upload size