sanjay23
2 years ago
12844
22
Laravel

Storage link not loading image after symlink

Posted 2 years ago by sanjay23

Hello Team,

I have run the command - php artisan storage:link

Then it created a folder in /project/public/ with the name /storage/custom_folder/images.jpg

And the same image stored in /project/storage/app/public/custom_folder/images.jpg

In blade I am using <img src="{{ url('storage/app/public/custom_folder/images.jpg') }}"> but it doesn't work then we tried another way <img src="{{ asset('/storage/custom_folder/images.jpg') }} this is also not working.

Can anyone give me resolution for this.

Laravel V 5.5

Thanks in Advance

Please sign in or create an account to participate in this conversation.