View Full Version : [CLOSED] Image paste problem on html editor

Feb 18, 2014, 5:51 PM
Hi Mr/Mrs.

I have a question about ext html editor. I pasted image into html editor via print screen key and inserted into sql database.

After, browser sent an error when I opened the record via web page.

The problem has been occurred on Firefox and IE but has not been occurred on Chrome.

You can find the detail in below.

Firefox version: 27.0.1

IE version: 11.0.9600.16518

Chrome version: 32.0.1700.107 m

Ext.NET version: 2.4

The error screen on Firefox as:


The error screen on IE as:


The correct screen on Chrome:


Many thanks.

Feb 19, 2014, 3:06 AM
Hi @EsraKilical,

Welcome to the Ext.NET forums!

As for the problem. Hard to say what is going wrong.

Could you, please, translate the error message in FireFox to English?

Feb 19, 2014, 11:13 AM
Hi again,

You can find detailed pictures of process step with translated error message.

First picture is sample of pasted from print screen key.


Second picture is source code of the pasted picture.


Third picture is display of the picture in table row.


Fourth picture is the error message.


Thanks in advance.

Feb 19, 2014, 1:08 PM
Thank you.

Probably, the image is too big for the browsers to be shown as

<img src="data:..."

Too big src.

Chrome is faster enough to show such image, but IE and FireFox are not.

We don't think there is any other solution expect submitting the image to the server first and save there, then refer to it:

<img src="URL to the image" />

Feb 19, 2014, 1:55 PM
Ok, I know that way but Firefox and IE are showing img as you see in third picture just are not showing in html editor on their browsers. So, I think the problem in html editor.

How can I do block paste process via print screen key for image, If the problem won't be soluted? Because just Firefox is allowing paste an image.

Feb 20, 2014, 7:50 AM
Ok, I would like to test it thoroughly.

Could you, please, provide a simplified and runnable sample to reproduce the problem?