• Resolved ZoltanE

    (@zoltane)


    I use NextgenGallery to manage images. I have it’s admin panel in a
    second Firefox window, showing the gallery with thumbnails.

    When I want to insert an image into a post then I drag and drop the
    thumbnail onto the visual editor. Trouble is that the first part of the
    image URL (https://www.mysite.com/blog) gets replaced by “..”, which makes
    the URLs work in the editor but not in the post.

    How can I prevent WP/TinyMCE from truncating stuff?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ZoltanE

    (@zoltane)

    It seems to be a TinyMCE feature: URL conversion.

    I found the variable called “convert_urls” in one of the PHPs in WP, but
    there it’s set to false, so I don’t know why it is still converting stuff.

    Thread Starter ZoltanE

    (@zoltane)

    Oh crap, it’s a Firefox problem… stuff dropped into IE8 keeps absolute URLs.

    Thread Starter ZoltanE

    (@zoltane)

    Okay here is a fix: Relative Links Fix

    Note that WP3 requires site URLs to start with “https://”, so you must
    change the plugin above so it won’t try to add that part again:
    In linksfix.php delete https:// from line 33 and 34.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP replacing site root with ".." in drag and dropped URLs’ is closed to new replies.