Copied to clipboard

Flag this post as spam?

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


  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jun 18, 2010 @ 22:37
    Tom Fulton
    0

    TinyMCE - Images replaced with other images

    Hi,

    I'm having a strange problem where TinyMCE seems to be replacing images inserted into the WYSIWYG with other images.

    For example, I can insert an image from the Media library and see it in the WYSIWYG.  But when clicking Save or Save and Publish, the image is then replaced with a completely different image from the Media library.  It only happens on some images.  Also, each image that gets replaced is always replaced with the same one - ie yam11.jpg  is always replaced with newdvd51.jpg, father_04.gif is always replaced with 61_1.jpg, etc.

    Looking at the HTML code in TinyMCE,
    <p><img src="/media/1110/yam11.jpg" alt="yam11.jpg" title="yam11.jpg" width="800" height="600" rel="800,600" /></p> gets replaced with <p><img src="/media/1247/newdvd51.jpg" alt="yam11.jpg" width="800" height="600" rel="800,234" /></p>

    Oddly enough, I have encountered this same problem before on another Umbraco site.  Rather than troubleshoot I fixed by deleting the problem media folder and reuploading the images.  But in this case there are a lot of media folders/items and I'm not sure which one is causing the problem.

    Anyone ever seen this or have any ideas where to start looking?

    Umbraco 4.0.3 / .NET 3.5 Integrated / Windows 2008 / IIS7 / (IE and Firefox)

    Note - all the images (except for 2) were uploaded with Nibble's ZipUpload

    Thanks,

    Tom

  • Dan 1288 posts 3942 karma points c-trib
    Jun 18, 2010 @ 23:34
    Dan
    0

    Hi Tom,

    Sounds like the same issue raised on here a while back.  It's a bug with the zip-upload component: http://our.umbraco.org/forum/ourumb-dev-forum/bugs/6598-Wrong-images-in-the-rich-text-editor-when-saving-or-publishing.  I can't remember what the final outcome was, but zip-upload was definitely the culprit!

    Hope this helps...

  • 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