Skip to content

Commit 93df851

Browse files
authored
Add solution for "Unable to render image tag"
1 parent fdd0411 commit 93df851

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Documentation/Exceptions/1509741914.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,31 @@ As a workaround set the following TypoScript::
4343
4444
For further informatin, visit https://github.com/georgringer/news/issues/1589
4545

46+
TYPO3 13.4.9 - Add image with custom extension
47+
==============================================
48+
49+
Context
50+
-------
51+
52+
Have an image in a custom extension and want to display it with Fluid Template.::
53+
54+
<f:image src="EXT:my_ext/Resources/Public/MyImage.svg" />
55+
56+
The Issue
57+
---------
58+
59+
The following error is shown when the Fluid Template is used ::
60+
61+
(1/2) #1509741914 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
62+
File typo3 Unable to render image tag in "tt_content:6": _assets/0c22fd3d95c93dc31098cc8d4b1d7232/MyImage.svg File does not exist.
63+
64+
Solution
65+
--------
66+
67+
Add this to composer.json::
68+
69+
"extra": {
70+
"typo3/cms": {
71+
"web-dir": "public"
72+
}
73+
}

0 commit comments

Comments
 (0)