uploading pictures to be scaled/optimized