I use the Filefield Paths module to rename image files in a custom content type. All the files for this content type are uploaded to a specific folder under the 'files' directory (so I have sites/all/default/files/custom_dir for my images). While the original files with the old name do get removed from this directory after saving a new node, I've noticed that this does not happen under the 'styles' (sites/all/default/files/styles/custom_style) directory, the standard Drupal directory for creating preview images.
The only way around this is to show no image on node preview, instead of choosing a certain image style to preview your images in when creating a node.
Would it be possible to include a feature to remove these old files in the next release?
Closed: duplicate
Code
No activities found.