samedi 24 octobre 2020

Display image in Vue from storage folder with laravel

I'm saving my images in following location

Storage/app/public/userImages

It is getting saved but when i retrieve it in my vue component it throws error 404 not found.

<img :src="`/storage/${post.img_path}`"/>

and the url which is created is

http://localhost:8000/storage/userImages/872937058.png

Please give any suggestions.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2FVgU1M
via IFTTT

Aucun commentaire:

Enregistrer un commentaire