Issue Bug Closed

#50301Generated thumbnail's URL with BackendUtility::getThumbNail don't work

Matthias Toscanelli 07/22/13, 17:06 updated 10/02/18, 12:12

Description

When a thumbnail’s URL is generated with BackendUtility::getThumbNail, the “thumbs.php” script can’t display it.
It trows an exception:

TYPO3 Fatal Error: The requested image does not exist and/or MD5 checksum did not match. If the target file exists and its file name contains special characters, the setting of $TYPO3_CONF_VARS[SYS][systemLocale] might be wrong.

The bug comes from MD5 checksum:

  • In “BackendUtility::getThumbNail”, the checksum is calculated with “md5”
  • In “ThumbnailView::init”, the checksum is calculated with “GeneralUtility::shortMD5”

I don’t know which one should be changed, i let you choose.

Reviews 1