- Merge request !20Issue #3347920: drupal_image() should include the cache tags for the image style โ (Open) created by muriqui
- ๐บ๐ธUnited States muriqui
Added MR !20 to resolve for 3.x.
Also including a backported patch for 8.x-2.x, for those who may need it.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
This totally makes sense, I just came across the same idea when working in ImageViewBuilder.php and seeing these lines I asked myself, if the style wasn't considered for caching...
CacheableMetadata::createFromRenderArray($build) ->addCacheableDependency($access) ->addCacheableDependency($file) ->applyTo($build);
Thanks for the MR and tests!
- Status changed to Postponed
over 1 year ago 4:51pm 10 May 2023 - ๐ฉ๐ชGermany Anybody Porta Westfalica
We should postpone this on ๐ drupal_image() needs #width / #height values for fully working image cache scale, lazy-loading and img attributes RTBC for now, which fixes imagecache handling first.
- Status changed to Active
10 months ago 12:08pm 28 January 2024 - ๐ท๐บRussia Chi
I think ๐ drupal_image() needs #width / #height values for fully working image cache scale, lazy-loading and img attributes RTBC is not relevant as it has nothing to do with caching.
- Status changed to Needs work
9 months ago 3:08pm 4 February 2024 - ๐ฎ๐ณIndia Chandreshgiri Gauswami
Chandreshgiri Gauswami โ made their first commit to this issueโs fork.
- last update
7 months ago 9 pass, 4 fail - Status changed to Needs review
7 months ago 2:24pm 18 April 2024 - last update
7 months ago 9 pass, 4 fail - last update
7 months ago 10 pass, 1 fail - last update
7 months ago 10 pass, 1 fail - last update
7 months ago 11 pass - last update
7 months ago 11 pass