- Issue created by @lpeidro
- 🇪🇸Spain antonio.nunez Spain
antonio.nunez → made their first commit to this issue’s fork.
- 🇺🇸United States mortona2k Seattle
This is a good idea for a feature.
For some helpful info on image styles that are in use: https://www.drupal.org/project/image_styles_mapping →
- Merge request !64Issue #3478216: Detect image styles that are not being used → (Merged) created by Unnamed author
- 🇪🇸Spain antonio.nunez Spain
A service of the module itself has been used to obtain the architecture of the entities, process and extract the image styles used in the corresponding fields.
- 🇪🇸Spain antonio.nunez Spain
A new tab has been added that will show the display modes that can be used on images from text editors using CKEditor.
- 🇪🇸Spain antonio.nunez Spain
Created the Image Styles Report which will show a table indicating the entity, its type, the name of the field and the image format related to each of the styles used.
It also shows all the image styles enabled from CKEditor and in which type of formatter they are found.
- 🇪🇸Spain SadySierralta
I tested it, and it doesn’t seem to work well when using Media Responsive Thumbnail (on rendered entity) or PhotoSwipe. We should also consider that one formatter can use multiple image styles, e.g.:
photoswipe_thumbnail_style: 21_9
photoswipe_image_style: 16_9The same applies to Blazy.
Part of the issue might be that we are limiting this only to fields of type "image" and only considering settings that contain the word "image" in their string.
Additionally, the code has room for improvement.
- 🇪🇸Spain antonio.nunez Spain
antonio.nunez → changed the visibility of the branch 3478216-detect-image-styles to hidden.
- 🇪🇸Spain antonio.nunez Spain
antonio.nunez → changed the visibility of the branch 3478216-detect-image-styles to active.
- 🇪🇸Spain antonio.nunez Spain
Everything seems to be working properly, it's a good result.
-
sadysierralta →
committed 24d7f939 on 1.x
Revert "Issue #3478216: Adjust flow to first get the dependencies from...
-
sadysierralta →
committed 24d7f939 on 1.x
-
sadysierralta →
committed 85f8d21f on 1.x
Issue #3478216: Uncomment line
-
sadysierralta →
committed 85f8d21f on 1.x
-
sadysierralta →
committed c0a1c174 on 1.x
Issue #3478216: Adjust flow to first get the dependencies from config,...
-
sadysierralta →
committed c0a1c174 on 1.x
-
sadysierralta →
committed e466edc6 on 1.x
Issue #3478216: Add proper cache tags
-
sadysierralta →
committed e466edc6 on 1.x
-
sadysierralta →
committed 93752b75 on 1.x
Issue #3478216: Add initial table report of image styles usages in...
-
sadysierralta →
committed 93752b75 on 1.x
-
sadysierralta →
committed 2b04de3c on 1.x
Issue #3478216: Add library to hide elements that has no results
-
sadysierralta →
committed 2b04de3c on 1.x
-
sadysierralta →
committed a27b520e on 1.x
Issue #3478216: Adjust code and remove settings path key until both way...
-
sadysierralta →
committed a27b520e on 1.x
-
sadysierralta →
committed b03097e8 on 1.x
Issue #3478216: Now usages are calculated first from intersection of...
-
sadysierralta →
committed b03097e8 on 1.x
-
sadysierralta →
committed aef43df3 on 1.x
Issue #3478216: Adjust pattern
-
sadysierralta →
committed aef43df3 on 1.x
-
sadysierralta →
committed 59b0d70f on 1.x
Issue #3478216: Add responsive image style list with usages
-
sadysierralta →
committed 59b0d70f on 1.x
-
sadysierralta →
committed 29dcaf4e on 1.x
Issue #3478216: Adjust class to show link to the view mode, doc, and...
-
sadysierralta →
committed 29dcaf4e on 1.x
-
sadysierralta →
committed c4eb90fb on 1.x
Issue #3478216: Adjust task to work in most cases
-
sadysierralta →
committed c4eb90fb on 1.x
-
antonio.nunez →
committed 6026322a on 1.x
Issue #3478216: Added comments to the code
-
antonio.nunez →
committed 6026322a on 1.x
-
antonio.nunez →
committed b6d0e797 on 1.x
Issue #3478216: New tab to show the image styles that can be used from...
-
antonio.nunez →
committed b6d0e797 on 1.x
-
antonio.nunez →
committed 0a8228e8 on 1.x
Issue #3478216: New report on image styles in different entities
-
antonio.nunez →
committed 0a8228e8 on 1.x
Automatically closed - issue fixed for 2 weeks with no activity.