• Greetings.

    Since the latest WordPress update, images no longer show up when insterted through the media manager. This began the second after I upgraded to the latest version of WP using the dashboard updater.

    The wp-image ID appears to be incorrect. When I remove that portion of the code, the image displays.

    My site is located at: https://www.killingmylobster.com

    For example, this image does NOT display:

    <img src="https://www.killingmylobster.com/wp-content/uploads/2016-bffs-web-300x300.png" alt="2016-bffs-web" width="300" height="300" class="alignright size-medium wp-image-8272" />

    But this one displays (after removing “wp-image-8272”).

    <img src="https://www.killingmylobster.com/wp-content/uploads/2016-bffs-web-300x300.png" alt="2016-bffs-web" width="300" height="300" class="alignright size-medium" />

    The direct URL views show the image fine so it must be an wp-image issue. This is happening to old images that were already on the site, as well as new images uploaded today. The site has not been moved or relocated and this is not a multi-site installation.

    I have tried disabling all plugins.
    I have tried uploading the image first to the media manager and then creating a new post to add it to.
    I have tried uploading the image directly from inside the new post.
    I have tried different alignments (left, right, none).

    None of these fix the issue. The only way I can get the images to show up is to remove the “wp-image-8272” portion of the class.

    Please help.

    Thank you!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dreamingfish

    (@dreamingfish)

    P.S I have also tried deactivating the theme and using the default WP 2015 theme, which did not help.

    Thanks!

    @dreamingfish Based on what I’m seeing in both Firefox and Chrome, the “non displaying” older images that I could find are the result of these two things combined:

    1) WP has a (fairly new) responsive images feature, which adds a srcset attribute indicating multiple image sizes so each browser can choose the one it wants to use; AND

    2) The URLs for the image’s srcset attribute all use https:// but the site itself is using https://.

    So (at least on my end), FF and Chrome are both blocking the images as “insecure” content, which leaves them with nothing to display.

    A way for you to test this theory would be to edit the URLs for one of those older images (by editing the post/page) to use https:// instead, and see if that makes any difference for you or not.

    Thread Starter dreamingfish

    (@dreamingfish)

    Brilliant! Yes, thank you. I changed the image URL and the site address under General Settings to include the “https://&#8221; and it appears to have fixed the issue site wide.

    Is that the best way to go about the fix?

    Thank you for your speedy reply!
    Kristin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image ID Issues after Upgrade’ is closed to new replies.