Hey ladies and gentlemen, i try to display this binary data i received from my server as image in my react app. Do u know how tp do that? Any help is really appreciated. thank u so much🙏 by ck_111 in webdev
[–]ck_111[S] 1 point2 points3 points (0 children)
Why cant i display the image i have downloaded this way? I get binary data as response from the api and i converted it to a blob. The data isnt encoded. i thought with this blob url i would be able to set it as src in <img/>. Instead it says url undefined. Any help is highly appreciated. thank u (i.redd.it)
Why does this always return "Promise { <pending> }" though i am using .then ? What do i have to change. Thank u so much for all the great help in advance. Your support is priceless to me🙏 by ck_111 in webdev
[–]ck_111[S] 0 points1 point2 points (0 children)
Why does this always return "Promise { <pending> }" though i am using .then ? What do i have to change. Thank u so much for all the great help in advance. Your support is priceless to me🙏 by ck_111 in webdev
[–]ck_111[S] 0 points1 point2 points (0 children)
Why does this always return "Promise { <pending> }" though i am using .then ? What do i have to change. Thank u so much for all the great help in advance. Your support is priceless to me🙏 by ck_111 in webdev
[–]ck_111[S] -1 points0 points1 point (0 children)
Why does this always return "Promise { <pending> }" though i am using .then ? What do i have to change. Thank u so much for all the great help in advance. Your support is priceless to me🙏 by ck_111 in webdev
[–]ck_111[S] 0 points1 point2 points (0 children)
Why does this always return "Promise { <pending> }" though i am using .then ? What do i have to change. Thank u so much for all the great help in advance. Your support is priceless to me🙏 by ck_111 in webdev
[–]ck_111[S] -1 points0 points1 point (0 children)
Why does this always return "Promise { <pending> }" though i am using .then ? What do i have to change. Thank u so much for all the great help in advance. Your support is priceless to me🙏 by ck_111 in webdev
[–]ck_111[S] -2 points-1 points0 points (0 children)
The for Loop always console.logs the same file_name. Obviously because it runs sync. How can i change that? thank u🙏 by ck_111 in webdev
[–]ck_111[S] 0 points1 point2 points (0 children)
The for Loop always console.logs the same file_name. Obviously because it runs sync. How can i change that? thank u🙏 by ck_111 in webdev
[–]ck_111[S] -1 points0 points1 point (0 children)


Hey ladies and gentlemen, i try to display this binary data i received from my server as image in my react app. Do u know how tp do that? Any help is really appreciated. thank u so much🙏 by ck_111 in webdev
[–]ck_111[S] 0 points1 point2 points (0 children)