ebreton/plupload — comment on commit 2f0f6c98dfaf00d30529356838d376c4ee9f8646
File:  line 0
By ebreton:

I do not change the total size which still indicates the sum of *original* sizes. But when I calculate the total percentage of progress, I use the native sizes of all photos to get it right.

Then, the solution is a bit weird since the total size is *before" resizing and the various sizes of each file is updated *after* resizing.
But it allows to have the 2 values, and (most important) a real progress :)