There is an easy solution for that. You can fetch the images outside of the library. then change the image to base64 and use the base64 in image tag