Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 235 posts 338 karma points MVP 3x c-trib
    May 01, 2009 @ 17:02
    Paul Marden
    0

    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.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    May 01, 2009 @ 17:09
    Ismail Mayat
    0

    what do you have in your umbracoSettings.config under node



    Regards

    Ismial

  • Paul Marden 235 posts 338 karma points MVP 3x c-trib
    May 01, 2009 @ 17:13
    Paul Marden
    0

    [code] [/code]

  • Paul Marden 235 posts 338 karma points MVP 3x c-trib
    May 01, 2009 @ 17:14
    Paul Marden
    0

    FYI I've also got

    [code]
    [/code]

    Cos I'm trying to port some really crappy html and tidy was messing it up.

  • 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.

Please Sign in or register to post replies