This page uses the geo mashup plugin, which calls the_post_thumbnail to show the relevant post image on the map. However, the call returns a srcset which is not correct - the different image sizes are not included in the URL, so no matter what device you are using, you get the full 2000px image
I used that plugin when I first installed the theme. The image sizes are still defined and the correct sized thumbnails are being generated - see attached images. I don't want to have to run regenerate every time I add a new post.
Strange, I just tested with the theme and I see it still working fine.
So, I think you have a plugin caused this issue. Please try deactivate all plugins ( except plugins come from the theme & map plugin you're using ) and try it again. After it work, let's enable each plugin to check what's plugin caused this issue.
Just in case anyone discovers this ticket and has the same problem. This issue was caused by a conflict with the jetpack image cache system. Switching that off resolved the issue.
This page uses the geo mashup plugin, which calls the_post_thumbnail to show the relevant post image on the map. However, the call returns a srcset which is not correct - the different image sizes are not included in the URL, so no matter what device you are using, you get the full 2000px image
Hi,
Seem you need to use pluginĀ https://wordpress.org/plugins/regenerate-thumbnails/ to regenerate thumbnails to make srcset load correct
Best Regards,
PenciDesign
Hi,
I used that plugin when I first installed the theme. The image sizes are still defined and the correct sized thumbnails are being generated - see attached images. I don't want to have to run regenerate every time I add a new post.
Hi,
Strange, I just tested with the theme and I see it still working fine.
So, I think you have a plugin caused this issue. Please try deactivate all plugins ( except plugins come from the theme & map plugin you're using ) and try it again. After it work, let's enable each plugin to check what's plugin caused this issue.
Best Regards,
PenciDesign
Just in case anyone discovers this ticket and has the same problem. This issue was caused by a conflict with the jetpack image cache system. Switching that off resolved the issue.
Thank you for your sharing
Have a great day
Cheers,
PenciDesign