I want to add the company logo to the default layout page in Typo3 (located in myextension/Resources/Private/Layouts/Page/Default.html
).
However, using the relative path as a source in an img-tag does not seem to work (I used ../../../Public/Images/imagename.jpg
). The console shows that Typo3 seems to be looking in the following location: http://localhost/Public/Images/addressicon.jpg
.
How do I insert the image located at myextension/Resources/Public/Images/imagename.jpg
?
How about /typo3conf/ext/myextension/Resources/Public/Images/imagename.jpg
I think EXT:myextension/Resources/Public/Images/imagename.jpg
should work too.