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.
hi everybody,
I'm unsing IMCE together with ImageCache on a Drupal 6 installation.
I've configured IMCE to allow overwrite of existing files ("Replace the existing file with the new one" under admin/settings/imce).
If I replace a file the original image (under sites/default/files) gets overwritten. Unfortunately the pregenerated imagecache version (under sites/default/files/imagecache/preset_name) don't get overwritten. I have to flush the imagecache preset (under admin/build/imagecache) for the new files to show up.
Is there any solution to this?
Comments
Comment #1
ufku CreditAttribution: ufku commentedYou'll need a custom module that implements a upload handler that detects file ovewritings and do the necessary cleaning. It might not be limited to imagecache.