I realize this may be naive of me, but I was just curious whether there's any way of making the links to images/other files auto-update to match the new file names, or if there are any plans for this in the future?

CommentFileSizeAuthor
#4 imce_rename-path_redirect.patch2.33 KBstackpr
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaron1234nz’s picture

Currently this module does not support this behaviour. I think this would be nice to have; it may be challenging to get this feature working right though (I can think of a number of potential issues). I'll take a look when time allows (or accept patches if anyone's offering...).

iNade’s picture

I would love to see this feature too. Tell me if you need some help on.

aaron1234nz’s picture

If your happy to write a patch that would be great! I'd take a look at the filefield_path module as this has a retroactive update feature for renaming files built into it.

stackpr’s picture

The attached patch adds a redirect using path_redirect. However, it can only work if the web server (apache) is configured to allow Drupal handling of non-existent files in the files directory.