Upload images on live server/shared hosting , not working
On localhost i can upload images and links working perfectly, but after deployment on live server and when I upload image the images not found in the folder and showing broken image.
please I need help
I already put the image folder permission to 777
and already run command : php artisan storage:link on the live server. and still not working.
@Yamoon1983 Why on earth are you uploading user files to your public directory? If a user manages to upload a malicious file and it’s publicly accessible, then they now have the ability to execute that file and give them a backdoor into your web app, and potentially your entire server.
Upload files to a non-publicly accessible directory (this is what the default local disk is for, which will save files in the storage directory outside your web root) and then only ever serve generated thumbnails on your website. Never return a user-uploaded file as is.