2024 Aug 06 8:19 AM - edited 2024 Aug 06 8:20 AM
I'm trying to fetch data from an OData service in my UI5 application, but the string data of image is encoded by base64 and I'm not sure how to decode it and display in my ui5 application. Can someone provide an example of how to achieve this, or point me in the direction of a relevant resource?
Request clarification before answering.
I think you can just set the base64 in the src property of the image.
Anyway, plain html image tag allows this: https://stackoverflow.com/questions/21227078/convert-base64-to-image-in-javascript-jquery
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.