Is there a way to compress an uploaded user image before saving in a collection?
The short answer: no
The [slightly] longer answer: You can request that an NPM compression library be added to the Wix Package Manager, and then you can handle it yourself. Do you really want to do that? As for me, I'd just as soon have a beer.