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.
The README.txt notes that dummyimage takes over imagecache's theming function and can't be overridden. The attached patch fixes this.
Comment | File | Size | Author |
---|---|---|---|
#3 | dummyimage_smarter_chaining.patch | 1.76 KB | cotto |
#1 | dummyimage_smarter_chaining.patch | 1.79 KB | cotto |
dummyimage_smarter_chaining.patch | 1.98 KB | cotto |
Comments
Comment #1
cotto CreditAttribution: cotto commentedsame patch without extra git junk at the top
Comment #2
naxoc CreditAttribution: naxoc commentedDoes this patch require that the module depends on the imageinfo_cache module? I had to google the IMAGEINFO_CACHE_THEME_IMAGECACHE_CALLBACK constant, and the only place I could find it was in that module.
Comment #3
cotto CreditAttribution: cotto commentedI had copy/pasted the code from imageinfo cache and didn't notice that constant, long and capitalized as it was. Using a hard-coded default for that variable is fine and ends up making the patch easier to understand. An updated patch without the constant is attached.
Comment #4
naxoc CreditAttribution: naxoc commentedI am afraid I don't really understand what the patch does. Could you explain why this is different than the existing approach?
Comment #5
naxoc CreditAttribution: naxoc commentedComment #6
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commentedDrupal 6 is not supported anymore