5355
Views
14
Comments
Binary Data to image display in web page
Question

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 

2019-05-22 11-30-09
Marcelo Ferreira

Hi Ganesh,

You can use this html approach 

<img src="data:image/gif;base64,xxxxxxxxxxxxx...">

xxxxxxxxxxxxx is the binary data

Regards,

Marcelo

2021-05-05 13-05-18
Mykola (Nick) Tkachenko

Hi Marcelo, how can I convert binary to text in web app?

2021-05-05 13-05-18
Mykola (Nick) Tkachenko

Thanks Ricardo

UserImage.jpg
aung thiha

For my case, it is working fine with BinaryToBase64 action from BinaryData module. 

In preparation, assign value to ImageURL local variable.

2022-12-12 15-08-17
Leonardo Abrantes

aung thiha wrote:

For my case, it is working fine with BinaryToBase64 action from BinaryData module. 

In preparation, assign value to ImageURL local variable.

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.


2024-10-22 07-30-36
Gopal Mule

Thank you @aung thiha it's working...!


2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Leonardo Abrantes,

Check this: SampleShowImage.aspx

See the attached .oml solution file


Regards,

Benjith Sam

ShowImage.oml
2022-12-12 15-08-17
Leonardo Abrantes

Benjith Sam wrote:

Hi Leonardo Abrantes,

Check this: SampleShowImage.aspx

See the attached .oml solution file


Regards,

Benjith Sam

Hi, i think that your OML example wasn't successfully uploaded because it keeps saying "Processing Upload..."


2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Leonardo,

Sorry for the late reply.

See the attached file 


Regards,

Benjith Sam

ShowImage.oml
2022-12-12 15-08-17
Leonardo Abrantes

Benjith Sam wrote:

Hi Leonardo,

Sorry for the late reply.

See the attached file 


Regards,

Benjith Sam

Hi Benjith, i have already managed to do this, but thank you anyway.


UserImage.jpg
Maitha Khanji

Benjith Sam wrote:

Hi Leonardo,

Sorry for the late reply.

See the attached file 


Regards,

Benjith Sam

Thanks a lot Benjith Sam !!  this is the only thing that worked with me :)

2021-03-18 21-03-15
Benjith Sam
 
MVP

Maitha Khanji wrote:

Thanks a lot Benjith Sam !!  this is the only thing that worked with me :)

You are welcome, Maitha :)

Glad it helped you :)


Regards,

Benjith Sam

2022-09-16 12-14-06
Kishore Kumar

@Benjith Sam

I'm trying this method to show image in a mail,The image is not showing.Can you help me on this..?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.