You could also do it like this
$path = $request->file("file_input_name")->store("images/product/"); $url = Storage::url($path); $product["image_url"] = $url;
That's going to save it as: "/storage/images/product/filename.ext"
And then access it from your view direclty:
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us