Hello!
In v4.0, we rewrote the image fetcher from the ground up to be a generator. With that, we implemented detection features that’d allow images to be downsized when they’re deemed too large. We wanted this to be a no-brainer feature, but thanks to our users, we soon discovered we also needed to check for the image filesize.
The filesize detection can cause The SEO Framework to ping external asset servers multiple times per page request, which will drastically slow down your site. So, we forwarded the issue to the WordPress Core team. For more information, see this issue.
In that issue, I just added your suggestion for allowing users to select the image sizes. There is a new update coming in December for the v4.0 release since we found that feeds must be indexed for Google Podcasts to work. So, you can expect that feature sooner than later.
Until then, there is a new filter you can use. It looks a bit like this:
add_filter( 'the_seo_framework_image_generation_params', function( $params = [] ) {
$params['size'] = 'my_preferred_image_size';
return $params;
} );
In that filter, you’ll want to change my_preferred_image_size
to a registered size you deem fit.
I hope this explains the lot. Thank you for the feature suggestion!