base64-encoded image in the image block of the admin extension.

Hi,

I’m trying to display a JPG image that I get from an endpoint in the image component of admin blocks. This image is base64 encoded. When I try to display it like this:

src={“data:image/jpeg;base64,” + image_list[capturePage].thumb}

It doesn’t display the image. How can I use these kinds of images?

Thanks in advance.