-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Uploaded file real name not working #30
Comments
Can confirm. |
You need to use:
Otherwise use your own logic. |
What i'm using now:
That way the uploaded file/image always gets a unique name (since the slug is unique in my model). |
Hi @michapixel, thanks for reply. The problem is not with the file name in storage. The problem is with the original filename uploaded. I save in DB the original filename uploaded to allow the user download the file with the same name (instead of the random name saved in storage). |
Hi, first of all, thanks for the great plugin, it's helping me a lot.
A problem I'm facing is that I need to save the original file name and it size.
The problem is that the plugin manually set
uploaded_file.jpg
to original Name.I can confirm that this happens just with this plugin. The native ImageField works great.
In file
PicturePicker.vue
I found:The text was updated successfully, but these errors were encountered: