Have you ever wanted to show or use the size of an uploaded file - the process is below
Firstly, you need a hidden image control with the Image
Then on the OnAddFile (and OnRemoveFile if you want)
Then the Label below has the Text
"Last Attachment: " & (Len(varJSON) - 814) / 1370000 & " Mb"
and that is the extent of it.
A similar, but less complex process - on the OnChange of the AddMediaButton
and the Label below
"Image Size: " & (Len(varJSON) - 814) / 1370000 & " Mb"