Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
237 views
in Technique[技术] by (71.8m points)

Image Not Found 404 But Image Path Correctly in Laravel

I copy project laravel to new hosting and new domain, its working fine. But the problem is when i upload new image, that image successfully upload to file storage/app/public/upload/folder, but that image not showing on page. See below image

not found 404 on page

path image correct

question from:https://stackoverflow.com/questions/66056830/image-not-found-404-but-image-path-correctly-in-laravel

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You need to run: php artisan storage:link to link storage to public folder


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...