• Resolved inmyopinionflicks

    (@inmyopinionflicks)


    I recently swtiched from Bluehost to Siteground and I was working on optimizing my site speed. I tried the plugin, Force Regenerate Thumbnails, to get my images optimized and it caused the images for my Top Jetpack Pages and Posts to show up as empty photo icons. I found this article and added the custom code to functions.php but now only some of my thumbnails show up and some don’t. With inspect I try to see if I can reach the image URL but I get the error “We cannot complete this request, remote server returned an unexpected status code (400).” What should I do?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • From the article I can see you are using the below function.

    function jeherve_custom_thumb_size( $get_image_options ) {
    $get_image_options['avatar_size'] = 600;

    return $get_image_options;
    }
    add_filter( 'jetpack_top_posts_widget_image_options', 'jeherve_custom_thumb_size' );

    This is trying to match the image size of 600px, so if any thumbnail does not have the 600px version it’s not loading. Try Force Regenerate Thumbnails again and make sure all images has 600px version, hope the problem will be solved.

    Thread Starter inmyopinionflicks

    (@inmyopinionflicks)

    Thank you for your response! I regenerated the thumbnails to 600px but nothing changed. However, I noticed that when I inspect the page, the URL that is being grabbed is not the URL to my featured image but just another image in the article. Why might this be the case? And how would I be able to resolve this with a lot of confusing redirects?

    You can see the images with .avif extension is not loading properly. May be this is happening for image speed optimisation by Jetpack, so can you check if this option is enabled and try disabling the “Speed up image load times”. You can find this under “Performance” tab of your Jetpack settings.

    Thread Starter inmyopinionflicks

    (@inmyopinionflicks)

    I tried this several time as well, turning it of and on. I think it’s Jetpack’s incompatibility with avif images. I just switched to another plugin since I really just want a popular posts list. Thanks for your help!

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @inmyopinionflicks

    Since you have moved to a different plugin, I am going to mark this thread as resolved. However, if you want to use Jetpack in the future and would like to troubleshoot this issue, feel free to open a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.