I am having issues displaying an image when uploaded. I am able to successfully store the image locally, however, the image is not doing two things:
- The image is not storing under the original file name
- I don't think my route works. Is there a class I need to reference to?
I am very new at this and have issues. thanks!
Top comments (1)
If your using the Storage facade it will generate a new name for each image, this is to avoid overrides on your server.
You need to store the filename once it has been stored, you will understand everything more clearly explained by the Laravel team themselves if you read the file upload section of the File Storage docs.