I use the add picture button in the rich text field (Standard TinyMce), i can insert the picture, no problem, but as soon as i save and publish the node, the piucture dissapers from the prewiew in TinyMce. The picture is still in the node, and displays as expected when the page is browsed. It's only in TinyMch that the picture is missing if i edit the node.
On the menu toolbar, there's a button to view the html version of the text in the rich text editor. And check whether that has all the required html to display the pic.
Ahh that was what he ment. The HTML is ok. I even checked the source in a browser and the img tag looks perfect.
I found out that when the page is saved the first time, the picture dissapers from the rich text editor, and when it's saved for the second time the image also dissapers in browsers browsing the site.
Picture problem in TinyMce
I'm having a strange problem in Umbraco 4.0.2.1
I use the add picture button in the rich text field (Standard TinyMce), i can insert the picture, no problem, but as soon as i save and publish the node, the piucture dissapers from the prewiew in TinyMce. The picture is still in the node, and displays as expected when the page is browsed. It's only in TinyMch that the picture is missing if i edit the node.
Anybody knows what is going on here ?
Arrrrgh.
Now the same pictures are also dissaperaing from the actual pages when you view them.
What is going on?
Can you check the html version of the content you entered in the richtext area. See if it has anything to do with html code.
I'm sorry, but i don't really understand what you mean by "html version", how can i check that, and what should i be ?
Thanks
Mikael,
On the menu toolbar, there's a button to view the html version of the text in the rich text editor. And check whether that has all the required html to display the pic.
Cheers,
/Dirk
Ahh that was what he ment. The HTML is ok. I even checked the source in a browser and the img tag looks perfect.
I found out that when the page is saved the first time, the picture dissapers from the rich text editor, and when it's saved for the second time the image also dissapers in browsers browsing the site.
Hmm, it apperas to be a problem with the filename having and underscore int.
If i add the picture named profil_250x213.jpg to the page in TinyMce, and save the file, and then look at the html, the img tag looks like this:
<img src="/media/66465/profil.jpg" alt="Firmaprofil_250x213" width="250" height="213" rel="250,213" />
Everything from the underscore to the fileextension is missing !!
Is this a known problem in Umbraco ?
I cans from this codeplex issue:
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=22893
that i am not the first to discover this problem.
Thanks for your help
Is this issue really resolved ? I'm still getting it in version 4.7.1
The issue was that, if an image file has got a name like "image_320x240.png", the "_320x240" part is removed by code, which shouldn't be.
This used to be an issue until 4.7.2 but, when I look into the source code, it's sorted out from 4.8.1. Didn't check 4.8.0.
is working on a reply...