Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yibrah's avatar

How to display an image from storage on blade views in shared hosting?

In my local machine, I can display images stored in /storage/app/public/images on blade views. I use the command below to do so.

php artisan storage:link

In case of shared hosting, the image can't display at all. I put the project files like this:

/public_html - contains the public files of Laravel app

/core_app - contains all files except the public folder of the Laravel app.

The images are stored in /core_app/storage/app/public/images.

Any help is appreciated. Thanks in advance.

0 likes
3 replies

Please or to participate in this conversation.