Title: Insert an image
Last modified: March 2, 2019

---

# Insert an image

 *  [AlexOM](https://wordpress.org/support/users/alexom/)
 * (@alexom)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/insert-an-image/)
 * Hello,
    I have severals post displaying images. I have simply inserted all images
   in the post, and asked them the center align, and that’s it. Pretty simply, and
   pretty efficient.
 * Except… that is more complicated. I have recently noticed that all post are not
   code (html) the same way (I guess maybe because post have been created at different
   year, 2016->today ).
    The reason how I have noticed that is that I have changed
   my WP them, and some post display properly, some not. And of course I am trying
   to reproduce the way that work.
 * Anyway,
    today, when I insert images the code looks :
 *     ```
       <img class="alignnone size-full wp-image-2226" src="https://www.mywebsite.com/wp-content/uploads/2016/10/my-image1.jpg" alt="" width="1000" height="667" />
   
       <img class="alignnone size-full wp-image-2227" src="https://www.mywebsite.com/wp-content/uploads/2016/10/my-image2.jpg" alt="" width="1000" height="667" />
       ```
   
 * What it used to be (and what I try to reproduce) :
 *     ```
       <p style="text-align: center;">
       <img class="alignnone size-full wp-image-2226" src="https://www.mywebsite.com/wp-content/uploads/2016/10/my-imag1e.jpg" alt="" width="1000" height="667" /> </p>
   
       <p style="text-align: center;">
       <img class="alignnone size-full wp-image-2227" src="https://www.mywebsite.com/wp-content/uploads/2016/10/my-image2.jpg" alt="" width="1000" height="667" /> </p>
       ```
   
 * All images, with a <p> tag around.
 * I have made some search, and see that most of people try to get ride of this 
   <p> tag. There is even some plugin to take it off. I am probably one of the only
   one looking for the opposite!
 * Can anyone call help ?
    I have many page to do, and I would like to fixe it before!
    -  This topic was modified 7 years, 3 months ago by [AlexOM](https://wordpress.org/support/users/alexom/).
    -  This topic was modified 7 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/insert-an-image/#post-11266002)
 * The overall structure of code from the editor has changed with the new editor
   introduced in WordPress 5.
 * What you’re seeing is normal and expected.
 * Is there any reason in particular that you need to change it?

Viewing 1 replies (of 1 total)

The topic ‘Insert an image’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/insert-an-image/#post-11266002)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
