I'm trying to save an image using the
Storage of Laravel
Storage::disk('avatars')->put($avatarName, $request->file('avatar')) $avatarName = avatar'.time().'.'.$request->file('avatar')->getClientOriginalExtension();
The problem is that it does not save it as an image, only a text appears:
Someone knows why you are not saving the image correctly, the name and extension places it correctly, but apparently does not save the image as such.