#80240f:image generate wrong relative path
Description
TYPO3 8.6.1 updated via composer 6.3.2017
usage of realUrl
XAMPP PHP 7.0.5
Situation
I use the following f:image-Viewhelper in a su
<f:image src="{cartoon.picture.0.originalResource.uid}"
treatIdAsReference="1"
width="{picWidth}m"
height="{picHeight}m"
title="{picTitle}"
alt="{picAlt}"
id="{ridPicture}"
style="width:100%; height: auto;"
/>
It generate the following IMG-Tag for the page with the RealUrl-link “http://comic.local/2017-de/test/”.
<img id="basecartoon-10_cartoon-1_dimension-2_rotation--size-_picture-" style="width:100%; height: auto;" src="fileadmin/_processed_/e/9/csm_allow_colors_in_your_live_06705570a2.jpg" alt="Für ein buntes Leben" title="Lass Farbe in dein Leben" width="210" height="158">
If I add a leading-’/’ to the src-adress, the browser will find the rendered image.
<img id="basecartoon-10_cartoon-1_dimension-2_rotation--size-_picture-" style="width:100%; height: auto;" src="/fileadmin/_processed_/e/9/csm_allow_colors_in_your_live_06705570a2.jpg" alt="Für ein buntes Leben" title="Lass Farbe in dein Leben" width="210" height="158">
The browser can’t find the image “http://comic.local/2017-de/test/fileadmin/_processed_/e/9/csm_allow_colors_in_your_live_06705570a2.jpg” (403-error)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.