[CLOSED] Image paste problem on html editor

  1. #1

    [CLOSED] Image paste problem on html editor

    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:

    Click image for larger version. 

Name:	on_firefox.jpg 
Views:	14 
Size:	93.3 KB 
ID:	7602


    The error screen on IE as:

    Click image for larger version. 

Name:	on_IE.jpg 
Views:	12 
Size:	94.5 KB 
ID:	7603

    The correct screen on Chrome:

    Click image for larger version. 

Name:	on_chrome.jpg 
Views:	11 
Size:	96.1 KB 
ID:	7604

    Many thanks.
    Last edited by Daniil; Feb 28, 2014 at 4:06 AM. Reason: [CLOSED]
  2. #2
    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?
  3. #3
    Hi again,

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

    First picture is sample of pasted from print screen key.

    Click image for larger version. 

Name:	Step_1.jpg 
Views:	5 
Size:	94.2 KB 
ID:	7605

    Second picture is source code of the pasted picture.

    Click image for larger version. 

Name:	Step_2.png 
Views:	7 
Size:	61.5 KB 
ID:	7606

    Third picture is display of the picture in table row.

    Click image for larger version. 

Name:	Step_5.jpg 
Views:	9 
Size:	104.2 KB 
ID:	7607

    Fourth picture is the error message.

    Click image for larger version. 

Name:	Step_4.jpg 
Views:	7 
Size:	89.6 KB 
ID:	7608

    Thanks in advance.
  4. #4
    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" />
  5. #5
    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.
  6. #6
    Ok, I would like to test it thoroughly.

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

Similar Threads

  1. Replies: 9
    Last Post: Oct 08, 2012, 7:49 AM
  2. [CLOSED] ext:ComboBox ListItem with html image tag
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 02, 2012, 12:58 PM
  3. [CLOSED] HTML Editor Scroll Problem
    By IanPearce in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 05, 2011, 1:22 PM
  4. Problem with HTML Editor
    By joao.msdn in forum 1.x Help
    Replies: 0
    Last Post: Dec 28, 2010, 9:14 PM
  5. [CLOSED] HTML Editor - insert image with relative path
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 07, 2010, 3:48 AM

Tags for this Thread

Posting Permissions