Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress

97556[FEATURE] Store remote media preview images as processed files

Benni Mack CR 0 V -1 Hard +340 −53 updated 11/11/26, 16:44

Commit message

The preview image of a remote media file was stored in
typo3temp/assets/online_media/ of each web server. It was fetched
again on every node and whenever typo3temp was cleared, and
refreshing it left stale files behind.

The preview image is now stored as processed file of the remote
media file, with the new processing task "RemoteMedia.PreviewImage",
in the processing folder of its storage. It is fetched once, shared
by all web servers and handled like any other processed file:
thumbnails are processed from it, it is removed together with the
remote media file, and refreshing the preview removes it together
with all thumbnails.

The file extension follows the image type delivered by the platform,
and a response which is no image is not stored. Checking whether a
task can be processed no longer fetches the preview image.

Providers and the database schema are not changed, the preview
images of online media helpers are still stored in typo3temp.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/56/97556/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/56/97556/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Relation chain 3

  1. 97556 [FEATURE] Store remote media preview images as processed files This change

  2. main 97555[TASK] Deprecate online media helpers This change is based on it Work in progress Merge conflict Benni Mack CR 0 V -1 Hard +452 −24
  3. main 97554[FEATURE] Introduce remote media providers This change is based on it Work in progress Merge conflict Benni Mack CR 0 V -1 Expert +2242 −125

Files 8

Review log 12

  1. Benni Mack uploaded patch set 1 11/11/26, 15:59

  2. core-ci voted on patch set 1 V -1 11/11/26, 16:44 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114121