• Resolved defade

    (@defade)


    Hi…

    A bug seems to have cropped up for me since upgrading to WordPress 2.7 regarding the ‘insert image into post’ function

    Basically, any images i insert into a post are not ‘clickable’ and are not ‘linked’ to the bigger copy of the image…

    It would seem from a simple bit of investigation, that when i click the ‘insert image into post’ button, that the generated HTML is incorrect

    Here is a couple of examples of HTML code before and after the WP2.7 upgrade

    ————————————————————————–

    BEFORE WP2.7:

    this was the code that got entered into a post when pressing the ‘insert into post’ button

    <a href="http://lesandpaul.com/wp-content/uploads/2008/10/may-2008-035-custom.jpg" rel="attachment wp-att-179"><img src="http://lesandpaul.com/wp-content/uploads/2008/10/may-2008-035-custom-392x590.jpg" alt="" title="Dad & Paul" width="392" height="590" class="aligncenter size-medium wp-image-179" /></a>

    ———————————————————————-

    AFTER WP2.7 UPGRADE:

    this is now the code that is entered into a post when pressing the ‘insert into post’ button

    <img src="http://lesandpaul.com/wp-content/uploads/2008/10/may-2008-035-custom-392x590.jpg" alt="Dad & Paul" title="Dad & Paul" width="392" height="590" class="aligncenter size-medium wp-image-179" />

    ————————————————————————-

    As you can see, the code is COMPLETELY different… it appears to be entering only the code to place the image into the post, without it linking to the fullsized image…

    How do i fix this?

    Many Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP2.7: Image – Insert Into Post – Wrong HTML code genrated in post’ is closed to new replies.