Zum Inhalt springen

ts setup img-tag ergänzen

Erstellt am 18. September 2015 · Noch keine Antworten

Tags: Inhaltselemente, Bilder, TYPO3 6.x, Frage

doni ·

Verwende Typo3 6.2.15
Hallo,

ich wollte den image-tag ergänzen.
Wenn ich das direkt im /typo3/sysext/css_styled_content/static/setup.txt ändere, dann wird das im FE umgesetzt.
Allerdings möchte ich nicht jedes Mal den Sourcecode von Typo3 anpassen und habe deshalb folgendes ins TS-Setup eingesetzt, aber es funktioniert nicht:

tt_content.image.20.1.layout.default.element = <img src="###SRC###" width="###WIDTH###" height="###HEIGHT###"###PARAMS######ALTPARAMS######BORDER######SELFCLOSINGTAGSLASH### style="max-width: ###WIDTH###px">

... auch dies funktioniert nicht:

lib.tt_content_image_20.1.layout.default.element = <img src="###SRC###" width="###WIDTH###" height="###HEIGHT###"###PARAMS######ALTPARAMS######BORDER######SELFCLOSINGTAGSLASH### style="max-width: ###WIDTH###px">

Habe ich das an der falschen Stelle eingesetzt?