typo3fluidtypo3-6.2.xfal

Fluid's image viewhelper shows outdated images


The following situation:

Here's the issue:

When the order of the files is changed, only the filenames are changed. but in the frontend the order remains the same as before, which is wrong. The processed thumbnails in the _processed_ folder are not updated. I have tried to change the mtime and ctime of the files to be newer than that of the processed files, but nothing has changed.

How can I tell TYPO3 to re-render processed files when original file is newer?

Maybe there is some TypoScript setting for Fluid that does this which I didn't find.
Maybe there is some Service which I could call during import?


Solution

  • There is a scheduler task named "File Abstraction Layer: Update storage index" which scans a file storage for new or changed files.

    Make sure the task starts often enough.

    In general: try to avoid replacing or renaming files as TYPO3 generates dependent files and records, which all need refreshing.

    be aware there is another similar task: "File Abstraction Layer: Extract metadata in storage", which might need to be called after the other.