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"));
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.
Media Images in RTE
Hello everybody,
in a RTE, I add the following image:
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
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:
Hello Alexander
Do you use the latest Umbraco version?
Thanks, Alex
Hello,
yes. Umbraco version 8.3.0
someone can help me plz?
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.
is working on a reply...