Title: WordPress 2.1 image problem
Last modified: August 18, 2016

---

# WordPress 2.1 image problem

 *  [goku1234](https://wordpress.org/support/users/goku1234/)
 * (@goku1234)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/)
 * I have just updated to wordpress 2.1 and there is a bug. Almost all my img id
   = line changing to newline with p tag
 * From
    `<div style='float:right;margin-top:0px;margin-left:5px;'><img id="image1164"
   src="http://www.domain.com/blog/wp-content/uploads/2007/01/logo.png" alt="Wordpress
   Logo" /></div>`
 * To
    `<div style='float:right;margin-top:0px;margin-left:5px;'><p><img id="image1164"
   src="http://www.domain.com/blog/wp-content/uploads/2007/01/logo.png" alt="Wordpress
   Logo" /></div>`
 * As a result my blog image display is not working in FF but works under all other
   browser.
 * How do i stop this crazy replacement. If i switch back to 2.0.7 it works perfectly.
 * Please help. I have 1200 post with images all of them gone from FF 🙁

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/#post-508189)
 * I’m either blind or dumb, but I don’t see the difference between your two examples.
 *  Thread Starter [goku1234](https://wordpress.org/support/users/goku1234/)
 * (@goku1234)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/#post-508190)
 * HandySolo,
 * Sorry. I’ve updated post with buggy output. It is inserting
    `<p>`
 * Before
    `<img id >`
 * So it looks as
    `<p><img id >`
 * Which is not working in FF but in all other browsers it works find. I never inserted
   p tag.
 *  [xenogere](https://wordpress.org/support/users/xenogere/)
 * (@xenogere)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/#post-508191)
 * I’m having the same problem. WP 2.1 is inserting an opening P tag in image DIVs,
   but it’s not closing them. I’ve never used P tags in those image blocks and they’re
   not required to be valid XHTML, so I’m wondering how to stop WP from inserting
   them in the first place (besides going back to 2.0.7).
 *  Thread Starter [goku1234](https://wordpress.org/support/users/goku1234/)
 * (@goku1234)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/#post-508198)
 * Going back to 2.0.7 backup means I will loss at least 50+ comments and 8 new 
   posts. This is a small bug and may be someone will point out solution. I don’t
   know which file is use to display final output to end user. If I edit the post
   it displays no sign of extra p tag.
 *  [xenogere](https://wordpress.org/support/users/xenogere/)
 * (@xenogere)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/#post-508264)
 * Actually, you should be able to install the 2.0.7 files and do the normal upgrade
   process without losing any data. Your link groups will probably get messed up,
   but those are easy to fix. I just went through the downgrade process to resolve
   the various issues I was having–including the whole P tag mess in image DIVs.
   Amazing that once I went back to 2.0.7, my site is now back to valid XHTML and
   is working properly. I think I’ll wait to upgrade when a major bug clean-up takes
   place with 2.1.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WordPress 2.1 image problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [xenogere](https://wordpress.org/support/users/xenogere/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/wordpress-21-image-problem/#post-508264)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
