• I was made aware of an issue affecting all of my blog posts yesterday, although I don’t know how long ago this could have occurred – I’d guess sometime in the last month.


    When I go into my blog posts only the featured image at the top displays, and not the images scattered through the content. There should be groups of images between the paragraphs of text, however only the header image and the text displays when viewing the blog posts.


    These images are still visible in the post editor, just not displaying on the live posts. I’ve had my hosting company investigate and they can’t find an issue on their end, I’ve tried clearing caches, using different browsers, updating the blog posts etc but cannot find a solution. I’ve also had someone else check for me on their computer/browser and they can’t see the images either.


    I would assume this might be to do with a recent update since I’ve not made any changes to my site in the last month. Please help!

    • This topic was modified 1 year, 7 months ago by shelbye265.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • hi there!

    I took a look at one of your posts and I’ve noticed that you have a few Gallery blocks in the page but these are empty, at least in the frontend. So I’m wondering if you can provide me with an example of markup from the “code editor” to see if I can reproduce and help you debug this further?

    Thanks.

    Thread Starter shelbye265

    (@shelbye265)

    Hi Riad,

    So there are gallery blocks but these aren’t empty – the images in the gallery blocks show in the visual editor.

    Here is the gallery block code from the code editor:

    
    <!-- wp:gallery {"columns":2,"linkTo":"none","sizeSlug":"full"} -->
    <figure class="wp-block-gallery has-nested-images columns-2 is-cropped"><!-- wp:image {"id":18149,"sizeSlug":"full","linkDestination":"none"} -->
    <figure class="wp-block-image size-full"><img src="https://shelbyellis.co.uk/wp-content/uploads/2023/07/blake-hall-wedding-37.jpg" alt="bride reading her vows at wedding ceremony as her father watches on" class="wp-image-18149"/></figure>
    <!-- /wp:image -->
    

    Grateful for any help!

    Thread Starter shelbye265

    (@shelbye265)

    Also image code here:

    <!-- wp:image {"id":18159,"sizeSlug":"full","linkDestination":"none"} -->
    <figure class="wp-block-image size-full"><img src="https://shelbyellis.co.uk/wp-content/uploads/2023/07/blake-hall-wedding-47.jpg" alt="bride and groom kiss during confetti tunnel at blake hall wedding venue in essex" class="wp-image-18159"/></figure>
    <!-- /wp:image -->

    Hi there! so I’ve just tested the exact same code above and I see no issue in my own install.

    My guess is that you have a “filter” in your installation that is stripping images from the post content. Such filter can be added by any plugin or by your theme.

    Do you have any plugins that are about “images” or “galleries” or things like that? Are you using a public theme that I can try?

    Thread Starter shelbye265

    (@shelbye265)

    My theme was purchased from Flothemes so don’t think you’ll be able to get it. I did try disabling all the plugins via my hosting platform but this still didn’t show the images even with them all disabled.

    It’s just so weird because I haven’t changed a single thing on my site!

    Thread Starter shelbye265

    (@shelbye265)

    Have just tried again disabling all plugins, this time via the WP plugin page, and the images still didn’t show. So can’t be a plugin issue. How would I know if it’s something with actual WordPress, like the latest update?

    It is possible that something is not right in the latest update but so far, I’ve tested your markup and I’ve also asked a couple of persons to check on their own.

    So my next guesses could be: theme, or some server config (php version).

    Would you be able to switch your theme to like the default Twenty Twenty Three theme for like a second just to see if it has any impact?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blog Images Not Displaying’ is closed to new replies.