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 5 posts 75 karma points
    1 week ago
    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 5392 posts 19944 karma points MVP 3x admin c-trib
    1 week ago
    Alex Skrypnyk
    0

    Hello Alexander

    Do you use the latest Umbraco version?

    Thanks, Alex

  • Alexander Tkacuk 5 posts 75 karma points
    1 week ago
    Alexander Tkacuk
    0

    Hello,

    yes. Umbraco version 8.3.0

  • Alexander Tkacuk 5 posts 75 karma points
    6 days ago
    Alexander Tkacuk
    0

    someone can help me plz?

Please Sign in or register to post replies

Write your reply to:

Draft