• Resolved elise.x

    (@elisex-1)


    Tested on two different WordPress blogs and the same thing happened. Here’s an example of what happened on the second site.

    Tried running the Regenerate Thumbnails plugin on the first site, and while most of the thumbnails were restored on the front end (all the post thumbnails from what I could see), the back end still shows dead images (even though the images is obviously still there) and the front end pages are not registering the thumbnail images at all for me.

    Here’s an example of a WordPress page where the thumbnail image is supposed to appear before the “About” title.

    As you can see, instead of an image, you see a dead image and the image title (“first-anniversary” in this case).

    Is this a known bug? Any patches coming?

    Thanks for all your hard work, guys!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    The content of the broken image is:

    <img width="800" height="533" src="https://eandt.s3.amazonaws.com/wp-content/uploads/2015/12/first-anniversary.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="first-anniversary" srcset="https://eliseandthomas.com/wp-content/uploads//home/elisexav/public_html/eliseandthomas.com/wp-content/uploads/2013/04/first-anniversary-300x200.jpg 300w, https://eliseandthomas.com/wp-content/uploads//home/elisexav/public_html/eliseandthomas.com/wp-content/uploads/2013/04/first-anniversary-768x512.jpg 768w, https://eliseandthomas.com/wp-content/uploads//home/elisexav/public_html/eliseandthomas.com/wp-content/uploads/2013/04/first-anniversary.jpg 800w, https://eliseandthomas.com/wp-content/uploads//home/elisexav/public_html/eliseandthomas.com/wp-content/uploads/2013/04/first-anniversary-675x450.jpg 675w" sizes="(max-width: 800px) 100vw, 800px" scale="0">

    The image itself works: https://eandt.s3.amazonaws.com/wp-content/uploads/2015/12/first-anniversary.jpg

    But, something is very wrong with how those srcset image URLs are being written: https://eliseandthomas.com/wp-content/uploads/home/elisexav/public_html/eliseandthomas.com/wp-content/uploads/2013/04/first-anniversary-300×200.jpg

    It’s basically dropping your file system URL *into* the file’s URL.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter elise.x

    (@elisex-1)

    Thanks for pointing this out! Now to begin testing. Hoping it’s a plugin and not the Genesis Framework.

    Moderator James Huff

    (@macmanx)

    Me too! ??

    Thread Starter elise.x

    (@elisex-1)

    Figured it out. It looks like the issue was with the Amazon S3 for WordPress with CloudFront plugin. Switched to WP Offload S3 and all works fine and dandy. Didn’t even have to regen thumbnails.

    Moderator James Huff

    (@macmanx)

    Perfect, thanks for letting us know!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbnails broke after upgrade to WordPress 4.4’ is closed to new replies.