Whenever i upload an image in the ecommerce platform, the response when trying to load the image is 404 not found. I have verified that the image exists and the path is correct. I have also change the permission on the file to ensure that it is publicly accessible. What may be the issue here?
2 Answers
Best Answer
Hello,
In case you have multiple servers, you need to have the centralized location of images, by either mounting the media folder into a shared network drive like AWS EFS, or configure S3 for the default disk for serving media.
https://spatie.be/docs/laravel-medialibrary/v3/installation-setup
Please login or Register to submit your answer