Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong upload size #2266

Open
remco-pc opened this issue Oct 25, 2023 · 1 comment
Open

Wrong upload size #2266

remco-pc opened this issue Oct 25, 2023 · 1 comment

Comments

@remco-pc
Copy link

Describe the bug
A clear and concise description of what the bug is.
The upload size in MB is wrong, you problably calculatie it with a 1000 instead of 1024. My system and windows is calculating it right
To Reproduce
Steps to reproduce the behavior:
Upload a file
Compare file sizes

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Browser / OS:

  • OS & Device: [e.g. iOS 14 on iPhone X]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    Version 5.9.2 of dropzone
    OS win 11
    All browsers
    Additional context
    Add any other context about the problem here.
@coltborg
Copy link

You can change the option filesizeBase from it's default of 1000 to 1024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants