• I can consistently reproduce this issue in any browser using the following steps
    -Open the Insert Image dialog
    -Upload a new image
    -Leave the Link URL field blank
    -click “Insert Into Post”
    -click the image in the post
    -click the Edit icon to edit the image settings
    -enter a valid URL in the link URL field
    -click “Update”

    Bug: The new link URL is not stored in the post. When I open the edit dialog again for the image, the link URL field is blank again
    Expected: the new link URL is stored

    I have found that I can get the link URL to update, but only if I add a caption to the image. I have a different blog on the same machine, with all the same settings as this blog AFAIK where this behavior is not happening and editing the link URL works as expected. I even tried a fresh install of WordPress for the problem blog, and that did not fix the issue.

    There are no error messages appearing in Firebug or Chrome dev tools. I have pretty much run out of ideas for how to fix this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m experiencing an identical problem. Did you ever find a solution? WordPress 3.2.1

    Worth noting that this issue continues even with all plugins deactivated.

    EDIT:

    On further inspection I realise that if I select alignment none for the image everything works as it should be any of ‘left’, ‘center’ or ‘right’ prevent the link url from being updated.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Can you reproduce this on the default TwentyEleven theme?

    I can reproduce on TwentyEleven. I’m also able to reproduce across other themes and child themes, with or without plugins activated, across 2 different Hosts.

    I can get the link to store correctly IF :

    1. I allow WP to keep the default link URL to the full image post, then after inserting it into the post, edit the link retroactively.
    2. I edit the default link URL _BEFORE_ inserting it into the post.
    3. Choose “None” for alignment and remove the link – then I’m able to retroactively update the link on the image.

    If I choose an image alignment AND remove the link URL, I’m unable to retroactively add a link to the image via the WYSIWYG editor. (I can manually add a link to the image by switching to the HTML tab and hand-coding it.) What happens is the image editor fades out like expected, but the link does not save. If I use the “link” button, when I try to save the link by clicking “Insert”, the screen jumps up, the link disappears from the form field, and the bottom of the edit box gets a long white horizontal rectangle at the bottom. I have to cancel out of it, and the link does not store.

    If I activate TinyMCE advanced on a TwentyEleven child theme and use the “link” button to add a link retroactively (after choosing an alignment, removing the default link url and inserting into the post), I’m getting this error :

    FORBIDDEN
    You don’t have permission to access /blog/wp-content/plugins/tinymce-advanced/mce/advlink/link.htm on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    To us, it appears something is happening in TinyMCE between the image alignments Left, Center and Right and when you DO NOT specify a link url in the same upload/insert screen that makes the link/edit buttons unable to retroactively add a link to an image via the WYSIWYG editor.

    Thread Starter alexp123

    (@alexp123)

    Yes I can reproduce this on the default 2011 theme (note this is strictly an issue with the admin interface, so I wouldn’t think the theme would affect it anyway). No I never found a solution for this. I have been using workarounds like those described above.

    evilpuncker

    (@evilpuncker)

    i can reproduce this as well on the default 2011 theme and wp 3.2.1 and the latest trunk version

    Appears to have been fixed on the upcoming 3.4 version.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot edit image link after inserted into post’ is closed to new replies.