• I’m attempting to trace an issue with broken links to featured images in the Jetpack Display WordPress Posts Widget (see widget display at left here).

    The Jetpack support response is below. I’m considering your plugin as one possibility. (I am using Really Simple SSL v.3.1.5 on the site, and all else is perfectly fine, e.g., no insecure content issues.)

    I also sent a support request to my host, who suspected that the original featured image was via https://, but at least when I view source I don’t find this:

    <img style=[etc] src="https://jimproctor.us/words/wp-content/uploads/sites/3/2019/05/books.jpg" scale="0">

    If you have any ideas, I’d sure appreciate…thanks so much.

    Jim P.

    ***

    [Jetpack support response 5/29/19]

    The Display WordPress Posts Widget uses our image CDN to resize the image itself to fit in the list in the widget. You’re seeing those broken links because the CDN isn’t able to cache the image file. When viewing the cached image file directly, you can see the error:

    https://i2.wp.com/jimproctor.us/words/wp-content/uploads/sites/3/2019/05/books.jpg

    In this case, you’ve got some weird redirects on your server that are causing this. Essentially, when we try to access the file via cURL, we’re being directed to the HTTP version of the file then back to the HTTPS version which is then giving us a 404 error.

    In a nutshell, there’s something odd about the HTTP → HTTPS redirects in place for your images that’s preventing our CDN from caching them to our servers. If you’re not sure what might have caused this, then I’d suggest you reach out to your host and ask them to look into it for you.

    If it helps, here’s the cURL request that we use to grab the images:

    curl -svv -o /dev/null -A 'Photon/1.0' https://www.example.com/path/to/image.jpg

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi @doctorproctor,

    I’ve seen issues with Photon from JetPack in the past when a site moves to SSL.
    https://really-simple-ssl.com/knowledge-base/images-not-found-photon-jetpack/

    In those cases deactivating Photon did the trick. Possibly you can activate it again afterward.

    They mention a redirect to http. This is not something Really Simple SSL does. The redirect added by Really Simple SSL seems to work fine: it redirects from http to https, or not at all when loaded directly over https.

    Thread Starter doctorproctor

    (@doctorproctor)

    Thank you!…and forgot to mention that I long ago deactivated Photon for issues similar to that thread.

    We’ll figure this out yet! I’ll keep this thread open in case other possibilities arise.

    Thanks,

    Jim P.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘possible jetpack widget issue: broken image links’ is closed to new replies.