danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 384 forks source link

Show file size in queue #120

Open Blazorist opened 3 years ago

Blazorist commented 3 years ago

Hi Daniel. Is there any chance to show the file size in the queue? I didn't find any configuration for this in the uploader so if it isn't implemented could you give me some starting point in order to achieve that?

Thank you and congratulations for your work. The uploader is really nice.

Blazorist commented 3 years ago

I think that I get it. First I've to modify the markup of the template adding for example a variable %%filesize%%. Then modify the UI script replacing the %%filesize%% var for the file size that is a property of the file object. Let me know if I'm wrong or forgetting something .