Open christianromeni opened 9 years ago
How is the image element supposed to know about the theme you have assigned to a page? I think it is correct to display all image sizes in this case.
I'm not sure, is there no object aware of the current theme? It should be available in the page object or am I wrong?
I think the layout section stuff is related: #6094
So there only the position wehere an article could be placed is shown.
Why not do the same here?
I have a Contao installation with 3 themes, and each has at least 5 image sizes defined in the theme. But when adding an image to a page where theme A is selected, I also see the images sizes defined in theme B.... In this example, only Rollingmelder should be visible.