Issue Bug Closed

#65433Invalid back path of ImageViewHelper in TYPO3 backend

Oliver Hader 03/01/15, 14:36 updated 10/02/18, 11:47

Description

If rendering an image in the TYPO3 backend, the regular case is to prepend “../” to an URI with the assumption that the HTTP request was handled by typo3/backend.php. For the page module for instance, the request points to typo3/sysext/cms/layout/db_layout.php, thus the back path trick does not work anymore.

To overcome that behavior the absolute path shall be used in stead by determining TYPO3_SITE_PATH.
For that case that some custom processing relies on “../” this change might be breaking.

Reviews 2