Anyone got any ideas why when I insert a JPG image into a Rich Media field in Umbraco 4.0.1 instance the html gets changed so that the file suffix is changed from JPG to GIF and then an error get's written to the UmbracoLog:
[code]Error resizing image in editor: System.IO.FileNotFoundException: d:\home\Default\irap.org\htdocs\media\1150\irap-team-chile.gif
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at umbraco.editorControls.tinymce.tinyMCEImageHelper.doResize(Hashtable attributes, Int32& finalWidth, Int32& finalHeight)
at umbraco.editorControls.tinymce.tinyMCEImageHelper.cleanImages(String html)[/code]
Unsurprisingly \htdocs\media\1150\irap-team-chile.gif doesn't exist but \htdocs\media\1150\irap-team-chile.jpg does.
Error
Anyone got any ideas why when I insert a JPG image into a Rich Media field in Umbraco 4.0.1 instance the html gets changed so that the file suffix is changed from JPG to GIF and then an error get's written to the UmbracoLog:
[code]Error resizing image in editor: System.IO.FileNotFoundException: d:\home\Default\irap.org\htdocs\media\1150\irap-team-chile.gif
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at umbraco.editorControls.tinymce.tinyMCEImageHelper.doResize(Hashtable attributes, Int32& finalWidth, Int32& finalHeight)
at umbraco.editorControls.tinymce.tinyMCEImageHelper.cleanImages(String html)[/code]
Unsurprisingly \htdocs\media\1150\irap-team-chile.gif doesn't exist but \htdocs\media\1150\irap-team-chile.jpg does.
what do you have in your umbracoSettings.config under node
Regards
Ismial
[code] [/code]
FYI I've also got
[code]
[/code]
Cos I'm trying to port some really crappy html and tidy was messing it up.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.