Replies: 2 comments
-
The put method comes from laravel and phpleague/flysystem, this package is acording the flysystem testing, any question on those packages |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you want to know how it works read the source code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I send an image object from DOM input file type element directly as http request through this extended
Storage facade
:and do not specify the first argument:
the image gets stored in the specified folder by
$config['folder']
. When I try to store a decodedbase64
image though, I have to specify the first argument:which will give the image its name and place it in the same folder. If I don't specify the name argument, the image won't arrive in drive.
When I specify the name string with an image object from the DOM element:
drive creates a subfolder named
imageName.jpg
and puts the image inside, naming it after itsimage ID
.How does the
put()
method process its first argument? Why the different behaviour? Is this specific to flysystem-google-drive-ext?Beta Was this translation helpful? Give feedback.
All reactions