Home Search Member List Faq Register Login  
UltimateEditor
Dragging an image or cutting/pasting changes img src reference

Thread Starter: art   Started: 06-11-2008 8:15 PM   Replies: 7
 Karamasoft Support Forums » General Discussions » UltimateEditor » Dragging an image or cutting/pasting changes img src reference
 Printable Version    « Previous Thread   Next Thread »
  11 Jun 2008, 8:15 PM
art is not online. Last active: 3/9/2009 7:17:04 PM art

Top 10 Posts
Joined on 08-19-2006
Posts 36
Dragging an image or cutting/pasting changes img src reference

This applies to V3.1 of UltimateEditor


We insert an image into the editor and the img src='/images/myimage.jpg'. This is a relative path which we require as the content is updated on a staging server and then pushed out to the production server.

If we then drag the image or cut/paste into another part of the content, like moving it up a few lines the reference to the image is changed to:

img src='about:blank/images/myimage.jpg

This is causing us serious problems as the content editors often cut/paste or drag the images to re-position them.


  
  12 Jun 2008, 10:35 AM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Dragging an image or cutting/pasting changes img src reference
When we try the same scenario in our live demo, it appends about: instead of about:blank in front of the relative path. We will look into this issue, and will let you know as soon as we can.
  
  20 Jun 2008, 2:02 AM
art is not online. Last active: 3/9/2009 7:17:04 PM art

Top 10 Posts
Joined on 08-19-2006
Posts 36
Re: Dragging an image or cutting/pasting changes img src reference
Hi, Have you had a chance to investigate this problem? My users are asking for this function to be fixed but it's not something I can work-around.
  
  20 Jun 2008, 12:42 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Dragging an image or cutting/pasting changes img src reference
We partially fixed the issue. It doesn't append about:blank any more but it converts the path to an absolute path. When you drag-and-drop an image, it basically cuts and pastes the image into the editor behind the scenes and once the image is cut from the editor, IE converts the relative path to absolute internally. If you want to keep the path as relative, you will have to process the EditorHtml property by replacing the absolute path with relative when the page is posted back.

We have not released a new build yet but we will let you know when it is ready for download.

  
  30 Jun 2008, 12:40 AM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Dragging an image or cutting/pasting changes img src reference

This issue is fixed and we built a new release. Please download the latest version from our website and try again.


  
  05 Jul 2008, 9:48 PM
jimdgilbert is not online. Last active: 5/16/2009 12:00:44 PM jimdgilbert

Top 10 Posts
Joined on 06-10-2008
Posts 6
Re: Dragging an image or cutting/pasting changes img src reference
I logged in and downloaded the latest version of the editor listed there.  I uninstalled the product, then reinstalled it using the 2.0 MSI file.  When I tested my project again, I still have the error.  I'm still getting "about:blank" prepended to my image urls.

What do we need to do to get this working?


  
  05 Jul 2008, 10:13 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Dragging an image or cutting/pasting changes img src reference
Have you replace the two dlls under the bin folder, and the two Include folders under the root of your app?
  
  08 Jul 2008, 10:40 PM
art is not online. Last active: 3/9/2009 7:17:04 PM art

Top 10 Posts
Joined on 08-19-2006
Posts 36
Re: Dragging an image or cutting/pasting changes img src reference
Thanks! It's working well.
  
 Page 1 of 1 (8 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Dragging an image or cutting/pasting changes img src reference

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2010 Karamasoft LLC. All rights reserved.