Open larylinz opened 10 years ago
->move('uploads/images/', 'customname.jpg');
filename also support blade syntax.
however there is a lack of functionality: for example preserve original "extension" but override name.
Leave this issue open.
Do you have a feature description for this? I'm about to do some work with files so I might as well cover this enhancement.
see also https://github.com/zofe/rapyd-laravel/issues/136
basically I think that in filename parameter we should omit the extension or we should overwrite it with the one of "clientoriginalname"
It seems, there is a function to specify a certain filename for images/files.
within file.php: ... $filename = ($this->filename!='') ? $this->filename : $this->file->getClientOriginalName(); ...
how to use this in dataform/dataedit?