Actions
Bug #46482
closedcached image sizes (sys_file) are not updated when replacing a file
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-03-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint
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']
);
...
Actions