Issue Bug Closed

#95576ImageViewHelper generates exception with src in typo3conf/ext

Laurent Foulloy 10/12/21, 06:54 updated 10/26/21, 05:32

Description

The following TS

page = PAGE
page.10 >
page {
   10 = FLUIDTEMPLATE
   10 {
      file = EXT:demo_site/Resources/Private/Templates/test.html
   }
}

and the test.html file

<f:image src="typo3conf/ext/demo_site/Resources/Public/Icons/Extension.svg" />

generates the exception “File /typo3conf/ext/demo_site/Resources/Public/Icons/Extension.svg does not exist”.

The image is correctly displayed when the html file is

<f:image src="EXT:demo_site/Resources/Public/Icons/Extension.svg" />

or

<f:image src="http://demo.11.x/typo3conf/ext/demo_site/Resources/Public/Icons/Extension.svg" />

Reviews 0

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