I’m using the new thumbnail system and I like it a lot. But the page_list block doesn’t support it. How do I add this? I’ve tried a few things but I’m lost. The code below is what I use to load images into the template.
The $imgVersion in the first example is equal to the $thumbnail in the second example, so you should be able to make whatever changes you want based on that.
Actually this assumption is not correct. The page_list block uses the image helper which uses the new thumbnail system depending on the situation.
If your theme defines image sizes for screen sizes using the getThemeResponsiveImageMap() method in the page_theme class then the image helper will use that to generate thumbnails using the new thumbnail system (well not so new anymore…)
Look for how the elemental theme does it for instance.
If you don’t define those then the helper will just use the old thumbnailer.