Copied to clipboard

Flag this post as spam?

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


  • Alexander Tkacuk 19 posts 120 karma points
    Nov 27, 2019 @ 14:58
    Alexander Tkacuk
    0

    Hello everybody,

    in a RTE, I add the following image:

    <img src="media/3uinws1s/image.png?width=223&height=223&mode=max" alt="" width="223" height="223" data-udi="um://media/4bcb11eba8724daa95b85c3df3a4a0c3 "/>
    

    After "Submit" the image will be displayed in the RTE. But, if I then press "Save" the url will be changed from "media/3uinws1s/image.png" to "data/cms/media/3uinws1s/image.png" in the attribute "src". And the image is no longer visible in the RTE.

    If I now render the URL of image then I get "data/cms /data/cms/media/3uinws1s/image.png"

    2x "/data/cms" ?

    what am I doing wrong here?

    In the config of tinyMce is already set

    <config key="relative_urls">true</config>
    

    It is a normal installation of Umbraco. It is hosted under IIS and the virtual path to the umbraco application is "data/cms"

    The image folder is then "data/cms/media"

    in the MediaComposer it is also set to:

    composition.SetMediaFileSystem (() => new PhysicalFileSystem ("~/media"));
    
  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Nov 27, 2019 @ 23:21
    Alex Skrypnyk
    0

    Hello Alexander

    Do you use the latest Umbraco version?

    Thanks, Alex

  • Alexander Tkacuk 19 posts 120 karma points
    Nov 28, 2019 @ 07:23
    Alexander Tkacuk
    0

    Hello,

    yes. Umbraco version 8.3.0

  • Alexander Tkacuk 19 posts 120 karma points
    Dec 03, 2019 @ 14:14
    Alexander Tkacuk
    0

    someone can help me plz?

  • Alexander Tkacuk 19 posts 120 karma points
    Dec 11, 2019 @ 06:33
    Alexander Tkacuk
    0

    Unfortunately, the problem still exists. When I paste an image from Media into RitchTextEditor and then Save, the URL will be changed in scr-attribute. The modified URL in the src-attribute additionally contains the virtual path of IIS. As a result, nothing is visible in RTE.

    After this, when data will be read from Umbraco the src-attribut has 2x virtual path from IIS in a row.

    I would be very happy if anyone knows a solution and would communicate it.

Please Sign in or register to post replies

Write your reply to:

Draft