Issue Bug Closed

#46482cached image sizes (sys_file) are not updated when replacing a file

Marcus no-lastname-given 03/21/13, 07:15 updated 11/07/16, 10:47

Description

The cached image sizes in the sys_file table are not updated when a file is replaced with ResourceStorage->replaceFile(…).
Images in frontend don’t have the right size when you use the f:image tag. The img-tag has the old image size.

For example (backend)

…
$storage->replaceFile(
$fileObject,
$_FILES[‘tx_iffilesearch_file_iffilesearchfilsearch’][‘tmp_name’][‘upload’]
);
…

Reviews 0

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