|
|
Rank: Newbie
Joined: 2/27/2008 Posts: 3
|
Hi,
When I insert an image into the rich text editor in Umbraco, upon save the image tag remains but the gif extension in the src attribute is removed:
eg. <img src="/media/3141/myImage." alt="" width="294" height="50" />
Is there a setting somewhere in a config file that needs to be changed to stop this?
Thanks,
ehegyi
|
|
Rank: Newbie
Joined: 2/27/2008 Posts: 3
|
P.S.
Im using Umbraco 3 Codeplex version 29463, though it fails with the latest version too. I'm running Win Vista and have the problem in both IE7 and FF
|
|
Rank: Enthusiast
Joined: 6/22/2007 Posts: 29
|
Check your tidy.cfg file. Mine was missing in the download of Umbraco 3.0.3 and I had all sorts of problems with img elements being stripped out and other problem, all caused by a overly aggressive tidy stripping out things it shouldn't. You might also disable tidy (<TidyEditorContent>False</TidyEditorContent>) in the umbracoSettings.config (config folder) and see if that makes a difference.
Cheers Rob
|
|
Rank: Newbie
Joined: 2/27/2008 Posts: 3
|
Thanks but no luck setting use tidy to false. But your right it ready does strange things with the image tag, last time I published, it simply removed the src attribute from all the image tags, not the just the image gif extension.
So I'll have to use a TextArea until this gets resolved.
|
|
Rank: Newbie
Joined: 4/15/2008 Posts: 17 Location: Indianapolis, IN
|
ehegyi wrote:Thanks but no luck setting use tidy to false. But your right it ready does strange things with the image tag, last time I published, it simply removed the src attribute from all the image tags, not the just the image gif extension.
So I'll have to use a TextArea until this gets resolved. Did you have any luck fixing this? I'm having this issue as well (with 3.0.5). I have tidy set to false (the default), but I don't have any tidy.cfg file. Is there a source for this file?
|
|
Rank: Newbie
Joined: 3/3/2008 Posts: 11
|
I recently had the same problem, and the solution for me was to edit the validElements section of my tinyMceConfig.config file. Find where your img tag is set, and change its 'rel' attribute 'rel=0'. Hopefully, this saves somebody else some time. Original answer here: http://www.codeplex.com/umbraco/WorkItem/View.aspx?WorkItemId=11808.
|
|
|
Guest |