htmlEditor and Images

  1. #1

    htmlEditor and Images

    Dear friends at Coolite,

    I've been using this framework for a long time... but no, I'm not an expert....

    I'm writing this post because of this topic:
    http://forums.ext.net/showthread.php...ght=htmleditor
    labeled "Inserting Image using HtmlEditor"

    I don't know what friend designworxz (topic's owner) wanted to achieve but for my surprise, I'm able to insert images inside an HTMLEditor - despite the Geofrey answer that such feature is not implemented yet.

    I'm sending attached image of one of my HTMLEditors... and no, no special paramaters are configured, nor javascript, nor listeners... just a simple htmleditor with the parameters as follows:

    <ext:HtmlEditor 
            ID="myHtmlText"
            Runat="server"
            Height="205px"
            Width="534px"
            EnableLinks="True"/>
    As you can see in the attached image, I'm able to insert jpg, png and gif format images, I'm sorry not tested yet any others ...
    Wow, what a surprise to me doing this !

    Some issues:
    1. Works only on I Explorer (tested on IE 8)
    2. You have to copy and paste, no other way to achieve this (as long as I know...)

    How to do ?
    1. Open IE
    2. Navigate to some site with images....
    3. Righ click on image
    4. Select copy
    5. Open you webApp
    6. Righ click inside your HTMLEditor
    7. Select Paste...
    Done !

    Well, this is what I've done around here... hope this help someone and hope have some feedback from Geoffrey about this as well...

    My intention is not rise flames, peace please !!! but just to share (at least) some curious thing... with all respect.

    Best regards for all Coolite team,
    You've been done an excellent work

    Fábio Marcos

  2. #2
    You can do this because it inserts an <IMG> tag with a web SRC property that it can resolve and render. If you try this with a local file, it will not work. I believe this is what is not implemented.

Similar Threads

  1. [CLOSED] ListView with HtmlEditor -> HtmlEditor value is null
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Apr 17, 2012, 12:50 AM
  2. [CLOSED] Set css for the images via an ImageButton
    By majunior in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jun 24, 2011, 1:47 PM
  3. [CLOSED] Combobox with images
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Oct 22, 2010, 12:14 PM
  4. [CLOSED] Images zoom and pan
    By GmServizi in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 23, 2009, 5:50 AM

Posting Permissions