Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a umbraco installation with a gridedtior. In the grideditor I have a RTE block. In there, if you insert an image it is not deployed with courier. The funny thing is, if I link to a media item with a normal anchor, the media is being deployed.
I guess i'm doing something wrong in my courier.config. Anyone done this before?
Thanks for any help!
Could you post how the html looks in the RTE inside the grid before you try to deploy it? - there are some subtle differences between how the RTE makes a link to an image and how it displays it as an image element, so if I can see the source I can probably track down the problem
<p><a href="/media/1186/artist.jpg" title="Artist">asdfasdfasddfasdf</a></p>
<p><img id="__mcenew" src="/media/1080/test.jpg" alt="" rel="2322" /> </p>
<p><a href="/media/1070/test2.png" title="Some test">test123</a></p>
So the is not working, the are working.
Some more info.
The same thing happens with a tag in a normal RTE without a grid.
Source of the html:
<p><a href="/media/1160/demo.jpg" title="demo.jpg">Image</a>:</p>
<p> <img style="width: 521px; height: 347px;" src="/media/1150/bo_2.jpg?width=521px&height=347px" alt="" rel="2485" /></p>
Hmm, do you know what version of Courier you are on?
Now I tried it again and the link issn't deployed anymore. So both are broken now. On what setting is this triggered in the courier.config?
Per, were you able to look into this issue?
That's quite an old version of Courier. We definitely recommend you update to the latest for your umbraco version by using a hotfix from the Archive here
Thanks, I will try the hotfix.
Quite an old version? I got this version last week from Sebastiaan.
I applied the hotfix. This is not helping.
I tried to add the tinymce to the
<!-- add new datatype elements for data types that stores files as a path ex: /meda/223/file.png -->
Are you able to reproduce this?
Sorry, you ARE running the latest version...my mistake.
Currently Courier does not resolve media in an RTE in a Grid - that's one-too-many levels of nesting for what Courier can resolve. This may be something we look at in the future, but generally we recommend not allowing media in an RTE when used in a Grid - call that a best-practice.
For your current configuration, the workaround is to first deploy the media items, then to deploy the content. It adds a manual step but that way you can be certain your media is correctly deployed prior to any content that references it.
My problem at this time is the entire RTE. I can't even get it working without a grid. So just a plain RTE on a doctype and my media is not deployed.
Is this by design as well?
I will try the workaround, not ideal, but it will work. I assume the media gets stored under the same url in the target site?
It was designed to work with the RTE - so courier should pick up media files and include them in the deploy - nor sure why it doesn't work on your site - as it should just work
And yes, media paths are kept the same between environments so immediate fix for you, could be to copy over the /media/ files manually.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted