- π©πͺGermany Christian.wiedemann
Hi! I changed the hook to pass image_effects as an array.
- Status changed to Needs review
over 1 year ago 10:55pm 14 February 2023 - π§πͺBelgium dieterholvoet Brussels
Why not keep it simple and add a hook to alter the whole image style?
ImageStyleInterface
already has useful helper methods likegetEffects()
,addImageEffect()
anddeleteImageEffect()
, this way we can make use of those. This also opens up the possibility to do other things with the image style, like e.g. changing the name. I'll start a new branch implementing this as a proof of concept. - Merge request !23Add hook_easy_responsive_images_image_style_alter β (Merged) created by dieterholvoet
- Status changed to RTBC
6 months ago 6:51pm 20 May 2024 - πΊπΈUnited States smustgrave
Tested out MR 23 and appears to work for me. Ended up using the example code from the API.
-
seanb β
committed 8d923bd2 on 1.3.x authored by
dieterholvoet β
Issue #3280758 by dieterholvoet, christian.wiedemann, smustgrave, seanb...
-
seanb β
committed 8d923bd2 on 1.3.x authored by
dieterholvoet β
- π³π±Netherlands seanB Netherlands
I like it. The ability to alter the image style entity is relatively simple, and provides all the flexibility developers need. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.