Copied to clipboard

Flag this post as spam?

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


  • Mikael Mørup 297 posts 326 karma points
    Jun 29, 2009 @ 10:29
    Mikael Mørup
    0

    Picture problem in TinyMce

    I'm having a strange problem in Umbraco 4.0.2.1

     

    I use the add picture button in the rich text field (Standard TinyMce), i can insert the picture, no problem, but as soon as i save and publish the node, the piucture dissapers from the prewiew in TinyMce. The picture is still in the node, and displays as expected when the page is browsed. It's only in TinyMch that the picture is missing if i edit the node.

     

    Anybody knows what is going on here ?

     

     

  • Mikael Mørup 297 posts 326 karma points
    Jun 29, 2009 @ 13:14
    Mikael Mørup
    0

    Arrrrgh.

    Now the same pictures are also dissaperaing from the actual pages when you view them.

    What is going on?

     

     

  • jefferycxl 35 posts 83 karma points
    Jun 30, 2009 @ 13:14
    jefferycxl
    0

    Can you check the html version of the content you entered in the richtext area. See if it has anything to do with html code.

  • Mikael Mørup 297 posts 326 karma points
    Jul 01, 2009 @ 11:43
    Mikael Mørup
    0

    I'm sorry, but i don't really understand what you mean by "html version", how can i check that, and what should i be ?

    Thanks

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 01, 2009 @ 11:59
    Dirk De Grave
    0

    Mikael,

     

    On the menu toolbar, there's a button to view the html version of the text in the rich text editor. And check whether that has all the required html to display the pic.

     

    Cheers,

    /Dirk

  • Mikael Mørup 297 posts 326 karma points
    Jul 01, 2009 @ 14:04
    Mikael Mørup
    0

    Ahh that was what he ment. The HTML is ok. I even checked the source in a browser and the img tag looks perfect.

    I found out that when the page is saved the first time, the picture dissapers from the rich text editor, and when it's saved for the second time the image also dissapers in browsers browsing the site.

     

     

  • Mikael Mørup 297 posts 326 karma points
    Jul 01, 2009 @ 15:08
    Mikael Mørup
    0

    Hmm, it apperas to be a problem with the filename having and underscore int.

    If i add the picture named profil_250x213.jpg to the page in TinyMce, and save the file, and then look at the html, the img tag looks like this:

    <img src="/media/66465/profil.jpg" alt="Firmaprofil_250x213" width="250" height="213" rel="250,213" />

    Everything from the underscore to the fileextension is missing !!

     

    Is this a known problem in Umbraco ?

     

  • Mikael Mørup 297 posts 326 karma points
    Jul 01, 2009 @ 15:33
    Mikael Mørup
    0

    I cans from this codeplex issue:

    http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=22893

    that i am not the first to discover this problem.

     

    Thanks for your help

  • ianhoughton 281 posts 605 karma points c-trib
    Jul 09, 2012 @ 15:16
    ianhoughton
    0

    Is this issue really resolved ? I'm still getting it in version 4.7.1

  • Justin Yoo 16 posts 39 karma points
    Aug 24, 2012 @ 04:22
    Justin Yoo
    1

    The issue was that, if an image file has got a name like "image_320x240.png", the "_320x240" part is removed by code, which shouldn't be.

    This used to be an issue until 4.7.2 but, when I look into the source code, it's sorted out from 4.8.1. Didn't check 4.8.0.

     

Please Sign in or register to post replies

Write your reply to:

Draft