Hi,
I want to display binary data( server action) to display as a "image" in web screen and as per my requirement we should not use types( database,external url and static image).
so is there any way to display binary data to image format using html via expression tag or any alternative way..pls just
Hi Ganesh,
You can use this html approach
<img src="data:image/gif;base64,xxxxxxxxxxxxx...">
xxxxxxxxxxxxx is the binary data
Regards,
Marcelo
Hi Marcelo, how can I convert binary to text in web app?
Hello Mykola (Nick) Tkachenko,
Is this what you are looking for: https://success.outsystems.com/Documentation/10/Reference/OutSystems_APIs/BinaryData_API#BinaryDataToText?
All the best
Thanks Ricardo
For my case, it is working fine with BinaryToBase64 action from BinaryData module.
In preparation, assign value to ImageURL local variable.
aung thiha wrote:
Hi, I am also trying to do this but I am not getting it, can you provide an OML example or explain how you did it?
Cheers.
Thank you @aung thiha it's working...!
Hi Leonardo Abrantes,
Check this: SampleShowImage.aspx
See the attached .oml solution file
Benjith Sam
Benjith Sam wrote:
Hi, i think that your OML example wasn't successfully uploaded because it keeps saying "Processing Upload..."
Hi Leonardo,
Sorry for the late reply.
See the attached file
Hi Benjith, i have already managed to do this, but thank you anyway.
Thanks a lot Benjith Sam !! this is the only thing that worked with me :)
Maitha Khanji wrote:
You are welcome, Maitha :)
Glad it helped you :)
@Benjith Sam I'm trying this method to show image in a mail,The image is not showing.Can you help me on this..?