• When I insert an inline image it is placed on a new line and not inline with the text.
    I have tried Gutenburg and Classic editor but the results are the same.
    I also tried using an HTML block with

    "This is a picture <img src="picture.png" width="50" height="50" />"

    But still the picture is placed on a new line

    Surely this is not a limitation and there is something set wrong somewhere. I just cant find where that is.

    Any help would be appreciated as I am getting quite frustrated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you please provide a website link for us to look at? It is difficult to provide a recommendation without something concrete to review.

    Thank you!

    Thread Starter fernandesg

    (@fernandesg)

    Here you go. https://www.vavanya.co.za/about/ but any page I try produces the same results.

    In general text will wrap around an image. Did you insert the image using the Add Media function in the editor? Is your image in the Media Library of your site? That should work for you. The resulting code I would want is something like this: <img src="picture.png" alt="some text" style="width: 50px; height: 50px; float: right;"> Also place your image code at the beginning of the paragraph; not the beginning of the paragraph title/header.

    Hope this helps.

    Thread Starter fernandesg

    (@fernandesg)

    Thanks I understand what you are saying but maybe I should be more specific.
    I am not trying to wrap text around an image.
    I need to place an image in a sentence for example.

    In HTML if I type
    Hello world <img src="picture.png" alt="some text" style="width: 50px; height: 50px" how are you>
    Then I will get

    Hello world {picture.png} how are you

    In wordpress if I type
    Hello world <img src="picture.png" alt="some text" style="width: 50px; height: 50px" how are you>
    Then I will get

    Hello world
    {picture.png}
    how are you

    This is why I cannot understand why this is happening.

    • This reply was modified 4 years, 6 months ago by fernandesg.
    • This reply was modified 4 years, 6 months ago by fernandesg.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘inline image not staying inline’ is closed to new replies.