3157
Views
12
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 

mvp_badge
MVP
Rank: #16

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?

Rank: #6374

Thanks Ricardo

Rank: #6322

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

In preparation, assign value to ImageURL local variable.

mvp_badge
MVP
Rank: #90

Hi Leonardo Abrantes,

Check this: SampleShowImage.aspx

See the attached .oml solution file


Regards,

Benjith Sam

ShowImage.oml

mvp_badge
MVP
Rank: #90

Hi Leonardo,

Sorry for the late reply.

See the attached file 


Regards,

Benjith Sam

ShowImage.oml