Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 610 posts 906 karma points
    Nov 24, 2009 @ 19:45
    Fredrik Esseen
    0

    Umbraco removes file type!

    When I add an image in the TinyMCE Editor and click save the link to the image gets broken. When I look at the html code, all i see is img src="/media/959/vattenliljor.". The jpg is gone! How can i fix this?

  • Fredrik Esseen 610 posts 906 karma points
    Nov 25, 2009 @ 07:33
    Fredrik Esseen
    0

    The only change I did was adding. <config key="convert_urls">false</config>

    to the tinymceconfig. Dont know if it is related: I removed that line but it didnt help.

  • Fredrik Esseen 610 posts 906 karma points
    Nov 25, 2009 @ 16:59
    Fredrik Esseen
    0

    Ive checked the installation files but I cant see any files altered except the tinymceconfig.config which I've restored from the original installation. Could there be somewhere in the database?

    Im going crazy! My client cant update a page with the editor because as soon as he do so the image gets broken!

    Needs urgent help :(

  • Fredrik Esseen 610 posts 906 karma points
    Nov 25, 2009 @ 19:28
    Fredrik Esseen
    0

    Ive compared a the sourcecode from the page with the editor with the faulty one and there is no differeence in the tinymce init.

    Could it have something to do with changed permissions on the server?

    Anyone...?

  • Fredrik Esseen 610 posts 906 karma points
    Nov 26, 2009 @ 10:02
    Fredrik Esseen
    0

    I tried adding an .flv file and that works fine. Its only when its an image.

    Any tip anyone where to start looking? Ive restired thr tinymce.config and the umbracosettings but is there soewherte in the database that I can look?

    Getting reeeeally desperate!

  • Fredrik Esseen 610 posts 906 karma points
    Nov 26, 2009 @ 13:14
    Fredrik Esseen
    0

    More info:

    It seems that is ONLY removes the file extension when an image is actually found.

    If i change the path ie: <img src="/media/958/vattenliljor.jpg" alt="Nyhetsbild" width="500" height="375" rel="0" /> to

    <img src="/media/959/vattenliljor.jpg" alt="Nyhetsbild" width="500" height="375" rel="0" /> it doesnt remove it!

    Could it be related to imagegen or maybe zipupoad?

  • Fredrik Esseen 610 posts 906 karma points
    Nov 26, 2009 @ 13:15
    Fredrik Esseen
    0

    I also use imagecropper.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Nov 26, 2009 @ 13:39
    Sebastiaan Janssen
    0

    Sounds like you're using a lot of things on top of each other, making it difficult to pinpoint your exact problem. 

    From your posts I haven't really been able to figure out where the file extension gets lost? Is it in the frontend or in the tinyMCE editor?

    What I would do is create a copy of the site on my dev environment and one-by-one take the added components out, so remove imagegen, see what happens, then if you still have the problem, remove imagecropper, and so on.

    If that doesn't help and your problem is in the frontend, check to see if you're creating the "src" part of the image correctly, maybe that's the problem.

  • Fredrik Esseen 610 posts 906 karma points
    Nov 26, 2009 @ 13:56
    Fredrik Esseen
    0

    Solved it finally: I had changed the misspelling of umbracoExtensio in the Image Mediatype.

    Removed the N in the end and it started working again..

  • 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