I have been working on the upload image and getting image from the backend. My backend is returning a full image as a string(not base64 FYI). Any idea how can I change the image string to image back? Thank you in advance.
What I tried -
- Setting this direct as
img src={imgString}
- Try to use btoa but not able to understand why it's not working.
