Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm the kind of person who likes to see lots of information at a glance. Wouldn't it be nice to see a summary of all effects for each style on the Image Styles page? Here's a simple patch that does just that.
Comment | File | Size | Author |
---|---|---|---|
#4 | effect_summary_in-2615986-4.patch | 6.34 KB | hargobind |
#2 | effect_summary_in-2615986-2.patch | 2.28 KB | hargobind |
Comments
Comment #2
hargobindPatch attached.
Comment #3
fietserwinExcuses for the late reaction. I tried this on my test site and it becomes quite crowded. Could you add something like module_filter does with the Modules page (and D8 does by default). Thus a link ("Show effects"?) for each style to open the list of effects? In D8 it is implemented with a details tag, in D7 with a span with class="details".
If you manage to do so, I will commit it.
Comment #4
hargobindWow, this was surprisingly difficult to pull off. There was a lot of complexity with adding the right columns, converting each column to an array so classes could be added, changing the layout of the table via CSS, etc.
I think this satisfies your requirements. There's even a cool feature where the effects will toggle from a comma-separated layout in collapsed state to a line-by-line layout in expanded state. It also plays nicely with other modules that change the columns of the image styles table such as imagestyleflush (which I manage).
Comment #5
fietserwinThanks for updating the patch. Committed with some changes.
Comment #7
fietserwin