Hallo ins Forum,
ich hole mir ein Logo (200x49 Pixel) aus fileadmin. Hierzu habe ich in den Konstanten das stehen
logo.file = fileadmin/Resources/Public/Img/logo.png logo.text = Mein Logo logo.title = Mein Logo
und im TS das
lib.header_logo { file = {$logo.file} params = class="logo" altText = {$logo.text} titleText = {$logo.title} }
Das Logo wird angezeigt mit diesem HTML
Problem ist, dass das die Originaldatei des Logos eigentlich [b]nur 200px breit und 49px hoch[/b] ist. Wie kommen die Angaben für width="400" und height="96" zustande?
Im CSS steht für img lediglich
img { border:none; max-width:100%; height:auto;}
Danke für n Tipp und Gruß
mimii