-
Notifications
You must be signed in to change notification settings - Fork 187
Multiple file upload doesn't seem to work #24
Comments
Are you running my this project/app unchanged, or have you changed the form in some way? Are you sure there is a multiple attribute to the file input field?
|
The templates extend from "base.html". Since I have a 'base.html' file in the root template folder, the templates were extending from that file and not loading the correct javascript files. I renamed the base.html file and now everything works fine. |
Hi, I have just uses this plugin and it's working for small size of file, when i upload more than 100mb file it says that file is uploaded but actually file is not uploading to server. Can you tell me how will i manage this issue. Template code is <script id="template-upload" type="text/x-tmpl"> {% for (var i=0, file; file=o.files[i]; i++) { %} {%=file.name%} {%=o.formatFileSize(file.size)%} {% if (file.error) { %} Error {%=file.error%} {% } else if (o.files.valid && !i) { %}
{% if (!o.options.autoUpload) { %}
Start
{% } %}
{% } else { %}
{% } %}
{% if (!i) { %}
Cancel
{% } %}
{% } %}
</script>
<script id="template-download" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
{% if (file.thumbnail_url) { %}
{% } %}
{%=file.name%}
{%=o.formatFileSize(file.size)%}
Succesfully Uploaded!
{% } %}
</script>
|
I'm closing this as the issue is old and resolved. Yes, the base.html should get a better name. @connectmadan If you haven't already, that question is more of a general django question, which you should get easy answers to just by googling. |
base.html is now upload_base.html |
I'm playing around with your Django app and everything seems to be working just fine.
Except I'm not able to upload more than one file at once. If I select more than one file, only the first file is shown and uploaded to the server.
I'm not getting any exceptions or errors, so it's quite difficult to figure out what is actually happening. Any idea?
The text was updated successfully, but these errors were encountered: