Project

General

Profile

Actions

Bug #68008

closed

Processed image versions are not deleted when image file is replaced

Added by Mathias Bolt Lesniak over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #63976: Replacing an image in File > Filelist does not trigger recreation of thumbnailClosed2014-12-18

Actions
Related to TYPO3 Core - Bug #91169: Replace file does not invalidate page cacheUnder Review2020-04-22

Actions
Actions

Also available in: Atom PDF