Issue Bug Closed

#68008Processed image versions are not deleted when image file is replaced

Mathias Bolt Lesniak 07/09/15, 14:17 updated 02/26/16, 12:41

Description

Hi!

(Sorry if this issue is a duplicate. I found a number of issues dealing with images and FAL, but not exactly this one.)

The processed versions of an image is not deleted when the image file is replaced. This is true both for processed versions generated in content elements and for preview images in in Filelist’s file info window. The only way to replace the processed image is to log into the Install tool, an inconvenience for administrators and an impossibility for normal editors.

Steps to reproduce:

  1. Upload an image file
  2. Show info for the image file in Filelist
  3. Replace the image file with a new version (any difference goes, but to see the difference, try different cropping or color)
  4. Show info for the image file in Filelist (the preview of the old image is still displayed)
  5. Clear processed images in the Install tool
  6. Show info for the image file in Filelist (the preview is now showing the new image)

Once the processed images have been deleted, the page cache for pages where the image has been used must also be cleared. Would it be a good idea to add a cache tag for each rendered image? Something like “sys_file-XXX”

- Mathias

TYPO3 version 6.2.14.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.