Strangely, the generated XML (data/umbraco.config) file uses the correct img string, it's just when tinyMCE loads the node again that the stripped version appears.
I've sort of narrowed it down to a folder/permissions issue. I've noticed when I create folders manually in the windows filesystem, put images in those folders, and refer to them in umbraco content, they are fine. It's only in folders that umbraco creates when new media is uploaded that end up getting stripped when TinyMCE reloads the code. However, me and our company's network admin have both looked at the folders and permissions appear to be identical.
Has anyone noticed this happening before? Any suggestions for how to fix it?
But if it seems to be a file-permission issue then it almost certainly is. As a test, temporarily give full control to everyone for your website. If that resolves it then you've definitely got a file permission problem somewhere. Then tighten up the security. Check out this security script from Chris Houston: http://blog.vizioz.com/2009/10/umbraco-permissions-script-secure.html. It assumes the NETWORK SERVICE user which is used by default at the application pool identity/owner. If your site uses a different user you'd want to update it accordingly (XP and Win2008 R2 don't use NETWORK SERVICE by default, for instance).
Saving <img> tag in tinyMCE strips jpg extension from src attribute
I'm having a weird problem when I insert images through the umbraco content editor (tinyMCE - umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657) ).
The original image tag looks like this
<img class="subpageImgBorder" src="/media/130013/rita.jpg" alt="rita.jpg" width="280" height="350" rel="," />
After I click save, the img tag looks like this:
<img class="subpageImgBorder" src="/media/130013/rita." alt="rita.jpg" width="280" height="350" rel="," />
Strangely, the generated XML (data/umbraco.config) file uses the correct img string, it's just when tinyMCE loads the node again that the stripped version appears.
I've sort of narrowed it down to a folder/permissions issue. I've noticed when I create folders manually in the windows filesystem, put images in those folders, and refer to them in umbraco content, they are fine. It's only in folders that umbraco creates when new media is uploaded that end up getting stripped when TinyMCE reloads the code. However, me and our company's network admin have both looked at the folders and permissions appear to be identical.
Has anyone noticed this happening before? Any suggestions for how to fix it?
Thanks!
Ben....
bumping this. Anyone able to help?
Never heard of that one before.
But if it seems to be a file-permission issue then it almost certainly is. As a test, temporarily give full control to everyone for your website. If that resolves it then you've definitely got a file permission problem somewhere. Then tighten up the security. Check out this security script from Chris Houston: http://blog.vizioz.com/2009/10/umbraco-permissions-script-secure.html. It assumes the NETWORK SERVICE user which is used by default at the application pool identity/owner. If your site uses a different user you'd want to update it accordingly (XP and Win2008 R2 don't use NETWORK SERVICE by default, for instance).
cheers,
doug.
is working on a reply...