Hallo,
wenn immer ich ein Content Object Text w/ Image einfüge rendert Typo3 eine Tabelle um das Bild, welches mehrere clear.gif Bilder und das Bild selbst enthält. Gibt es eine Möglichkeit diese Tabelle los zu werden?
Kann ich um diese Tabelle eigene Tags wrappen? Ich habe schon den TSOB gequält, leider ohne Erfolg.
Vielen Dank für die Hilfe.
Christian
tt_content.textpic übernimmt das rendering.
einfach mal im object browser anschauen: da kannst du die werte dann auch direkt abändern.
sorry bin relativ neu
kann mir jemand ein oder zwei zeilen script geben, die die tabelle mit den cleargifs entfernen?
ich bekomme das so nicht allein hin, bitte! 😢
(bei mir existiert das problem bei image ohne text dabei)
ich habe folgendes in mein setup eingetragen:
tt_content.image.20.spaceBelowAbove = 0
jetzt ist unter dem Bild etwas Platz verschwunden. #giggle#
Trotzdem befindet sich über dem Bild immernoch ein gleargif 1x65 pixel. (Mein Bild ist auch 65 Pixel breit)
Und unter dem Bild eine leere Textzeile.
Es müssten also nun noch zwei Dinge im Setup zu korrigieren sein.
ABER WO NUR? #paralyzed#
Hier ist die Lösung für das störende einzeilige clear.gif über jedem Bild:
Im Setup das Folgende eintragen:
# entfernt 1-pixel clear.gif über jedem Bild mit Text
tt_content.textpic.20.noStretchAndMarginCells = 1
# entfernt 1-pixel clear.gif über jedem Bild
tt_content.image.20.noStretchAndMarginCells = 1
Das Ganze findet sich leider nirgendwo dokumentiert, ich fand es in einer Notiz von Kasper:
"The top cell is used to stretch out the table. Most of the time we don't need to do this because the images inside does it. But what is worse is that THAT table row with that cell is also used to add the left / right margin-cells which spaces the image-block from the bodytext. By setting this flag:
tt_content.textpic.20.noStretchAndMarginCells = 1
you get rid of that whole table row and you should be able to properly put a border on the image block. But you will also have to accept/find another solution to the margin when the block is positioned with text. But as I see that would be the case anyways because wrapping the whole table in something to make that border you were talking about is not really usefull with the margins anyways."
Yesssss,
hab's gesucht und endlich gefunden.
Vielen Dank Volker, .Bild: schlauchboot-forum.com/…/Hail.gif.Bild: schlauchboot-forum.com/…/Hail.gif
(muss mal gesagt werden)
# entfernt 1-pixel clear.gif über jedem Bild mit Text
tt_content.textpic.20.noStretchAndMarginCells = 1
# entfernt 1-pixel clear.gif über jedem Bild
tt_content.image.20.noStretchAndMarginCells = 1
Genau das clear.gif hat mich Wahnsinnig gemacht.