Hi,
I use the modules plugin together with @pedroborges xml sitmap plugin. what is the best way to hide the modules, but to get the images from it?
I don’t want to display the …/modules/gallery-e323rf3 link. But it would be great if I can collect every image from the modules.
The problem is that the images don’t exist by themselves, but as part of a page object. So if you remove the page object, the images will be gone as well.
As far as I can see at a cursory glance, what you want to achieve is not possible without modifying the XML sitemap plugin code itself.
There you need to check if the page intendedTemplate is module.gallery and then get the images from the children pages (modules) if so. I never tried something like this but it should work.