I have stored the image in Oracle DB in CLOB when i am converting it back using base64 in image source it works fine in Chrome & Firefox but in Internet Explorer. some part of the image is shown after that dots appeared in remaining Picture.
I try to solve this problem through simple as well as through programmatically but same result.
Here is my html
<a class="fancybox" href="@images.IMG"
data-fancybox-group="gallery"> <span style="color:#428bca;font-size:34px;margin-top:-34px;
float:right;" class="glyphicon glyphicon-picture"></span></a>
Here @images.IMG
contains simple clob data without any conversion
i am using Fancybox a JQuery
plugin to show pictures.
C# way
byte[] byt = Convert.FromBase64String(imgclobdata);
MemoryStream ms = new MemoryStream(byt);
var img= "data:image/jpg;base64," + Convert.ToBase64String(ms.ToArray(), 0, ms.ToArray().Length);