skip to Main Content

Issue uploading public images to AWS S3 Laravel 9

I have searched widely for this problem but to no avail. Here's the code that's giving me the issue. if ($request->hasFile("images")) { foreach ($request->file("images") as $i => $image) { $path = $image->storePubliclyAs($product->id, "image_$i.{$image->extension()}"); } } The line with $image->storePubliclyAs() is…

VIEW QUESTION
Back To Top
Search