hi, change path to :
{{ url('/images/name.jpg') }}
it will work.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I've created symbolic link at local PC, where its working fine, but I've uploaded same it to shared hosting, it is not working there. Basically I've images in the storage folder home/storage/public/images/
I want to display them by getting
$path=asset('storage/images/'.name.jpg); so the problem is in the shared hosting this way
$path=asset('storage/images/'.name.jpg); getting from the domain directory not from the parent directory, so for that there is no way to create symbolic link on shared hosting so what should I do to get images from the parent directory. I am beginner please one can help me to solve this problem. Thanks
Please or to participate in this conversation.