Skip to content
Advertisement

Image not displaying reactjs laravel

i want to get image from laravel storage and display it in react js

JavaScript

getImage function

JavaScript

my laravel controller function

JavaScript

that what i get

enter image description here

enter image description here

please help me to find solution i have this problem since week

Advertisement

Answer

You should return it like this

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement