Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mattias Jonsson 11 posts 31 karma points
    Sep 26, 2011 @ 12:01
    Mattias Jonsson
    0

    Image url gets broken when publishing in Rich Text Editor

    Hello everyone! 

    This is a bug that has been reported in this forum before. For example this thread: http://forum.umbraco.org/yaf_postst1617_Rich-Text-Editor-Strips-Image-Tag.aspx

    When I try to insert an image in a Rich Text Editor, the image show up in layout. But when I press Save and Publish the image url get broken. It strip the url from /mywebsite/ to /. It is said that this was fixed in previous versions of Umbraco, but I have the latest release, and still have the problem. I have tried to do the solutions I have come across, but it still does not work. This happens when I try to insert an image from media folder. If I insert a link to an image folder I have created, the image can be saved. But only if I manually insert the full path to the image: /mywebsite/images/image.jpg 

    I have Windows 7, IIS 7 and Umbraco 4.7. My website is an application in IIS. Both the Media folder and my Images folder is in the root of the site: mywebsite/images and mywebsite/media. 

     

    Is there any fix for this? Does anyone have a good solution to this problem. My customer is not very technical and I would prefer if they can upload images in the Rich Text Editor. 

     

    Any suggestions you might have is highly appreciated! 

     

    Friendly greetings from Mattias! 

  • Danny 10 posts 71 karma points
    Mar 30, 2012 @ 11:57
    Danny
    0

    Anyone? I'm having the same issue? Umbraco 4.7

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Jul 18, 2012 @ 14:40
    Scott Hugh Alexandar Petersen
    0

    I have, what does your image url begin with? something like http://media ??

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Jul 18, 2012 @ 15:09
    Scott Hugh Alexandar Petersen
    0

    You can do a urlrewrite then you don't have to do any nasty stuff something like this:

    yourdomain = test.com
    mediadomain = media.test.com 

    <add name="media" 

        virtualUrl="http://(test.com|www.test.com)/(media.test.com)/(.*)" 

              rewriteUrlParameter="ExcludeFromClientQueryString" 

        destinationUrl="http://media.test.com/$3"

              rewrite="Domain"

              redirect="Domain"

              ignoreCase="true" />

Please Sign in or register to post replies

Write your reply to:

Draft