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.

Effects summary

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hargobind created an issue. See original summary.

hargobind’s picture

Status: Active » Needs review
FileSize
2.28 KB

Patch attached.

fietserwin’s picture

Excuses 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.

hargobind’s picture

Wow, 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).

fietserwin’s picture

Thanks for updating the patch. Committed with some changes.

fietserwin’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.