Even when imagecache is correctly configured, if you change the system-wide file path, derived images are not generated correctly. This is because imagecache registers a menu callback at file_directory_path() .'/imagecache' - and this is cached by the system.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | imagecache_1135480.patch | 1.17 KB | drewish |
| #1 | imagecache-menu-clear-1135480.patch | 804 bytes | lyricnz |
Comments
Comment #1
lyricnz commentedHere's a patch that clears the menu cache after the file-system form is submitted.
Comment #2
drewish commentedMakes sense. I don't think we need to be using module_invoke since it's a function defined in menu.inc so we can just call menu_rebuild() like core does. I also moved the code up to be with the other form alters.
Comment #3
drewish commentedcommitted to 6.x-2.x
Comment #4
lyricnz commentedtx