(11-08-2018, 01:12 PM)jreklund Wrote: Hi, I just re-read everything. And your Javascript looks okay. The file name aren't submitted in the URL.
Can you find the PHP code for the upload part?
Do you get the correct name here in your HTML after upload?
<input data-name="'+data.response.file_name_unreplaced+'" type="hidden" value="'+data.response.file_name+'" name="userfile[]">
Try and delete this part:
Code:
slugCallback: function(filename) {
return filename.replace('(', '_').replace(']', '_').toLowerCase();
}
Thanks for your help! It's appreciated. THe Filenames are correct in HTML. I will try your suggestion later and report back