I copied this snippet from your first reply, and put it into my functions.php file for one of my sites that has our plugin here installed:
add_filter('algolia_post_images_sizes', function($sizes) {
$sizes[] = 'medium';
return $sizes;
});
I then went to the “Search Page” in my WP admin and clicked the “Re-index Search Page Records” button at the top, and once that was done, went to my Algolia dashboard to confirm if I now saw “medium” in the images section. I did indeed.
https://cloudup.com/cPVdma4kCuU
Only thing I know for sure is that you’d want to change that medium
to be the intended size that you want to show. Once we know we have that much handled, we can move on to this next part, which will include template modification.
https://github.com/WebDevStudios/wp-search-with-algolia/blob/2.1.0/templates/instantsearch.php#L49-L55
The spots that look like data.images.thumbnail
would need to be updated to match the index you set for the indexing portion. For the sake of my example, I’d want to change it to data.images.medium
in both spots that show data.images.thumbnail
.
More general information about template customization will be at https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-Templates
However, first lets make sure you’re looking at the right indexes and that they have the newly specified image sizes, perhaps following my example at the top including where the function was added, etc.