Embeded SRC is not working for large file

Hi

i am using blob storage to store the file.i cant use local entity to store binary content of that file because of client requirement.for that reason we are storing file in blob storage and that file we have to download and that content we are displaying in Embeded source for preview.but small file is working properly but large file we are unable to display in Embeded source.but i am getting the binary data.

i am using below thing

SyntaxEditor Code Snippet

If(MimeType <> "", "<embed src='data:" + MimeType + ";base64," + BinaryToBase64(FileContent) + "' width='100%' height='100%' ></embed>", "")

How large is the file? Is it possible you might be running into issues with IIS' request limit size?

G. Andrew Duthie wrote:

How large is the file? Is it possible you might be running into issues with IIS' request limit size?

We are unable to open more than 5 mb file.


Solution

Hi,

As far as I know, different browsers have all different limitations on maximum img data uri size.

Regards,

Daniel

Solution