usingFileName() with original file extension #3792
Replies: 1 comment
-
You have moved this to discussions, but I meant that it is not proper behaviour for these functions. Suppose, I upload several files, and they are not necessary jpgs. Now I'm using addAllMediaFromRequest() on server side, and I want files to have some specific names. For example, I want 'abc.original_extension' for the main file. My conversions will be named as 'abc-conversion_name.jpg'. This works. But how about the main file? How can I know the original extension? I think that the proper behaviour could be setting only the name before dot with usingFileName(), but extension should remain automatically as it is in original file. |
Beta Was this translation helpful? Give feedback.
-
While using addAllMediaFromRequest() or addMediaFromUrl() is there any possibility now to set custom file name with the original file extension? I have not found yet.
Beta Was this translation helpful? Give feedback.
All reactions