Zum Inhalt springen

maximalhöhe bilder

Erstellt am 23. Januar 2004 · 5 Antworten · letzte Antwort am 27. Januar 2004

Tags: Frage

Peer ·

hi,
wie kann ich eigentlich die maximal höhe von bildern festlegen?
hab schon alles mögliche ausprobiert und gesucht und nichts gefunden. vieleicht hat ja von euch einer eine idee....

styles.content.imgtext.maxHInText = 50
styles.content.imgtext.maxH = 50
hab ich clevererweise auch schon ausprobiert, geht nur nicht
???????????????????

danke für jeden tipp

maxhb ·

Hi!

Peer schrieb

styles.content.imgtext.maxHInText = 50
styles.content.imgtext.maxH = 50

Ist denn bei Dir ImageMagick korrekt instlliert? Obige Anweisungen führe - so weit ich weiss - dazu, dass Bilder, die grösser als 50 Pixel sind über IM skaliert werden...

CU
maxhb

Peer ·

müsste eigentlich...
aufm server ist im 5.x.x drauf

funktioniert einfach nicht :-(((((((((((((((((

maxhb ·

Hi!

Peer schrieb

müsste eigentlich...

Guck doch mal auf die Install-Seite Deiner Installation. Dort müsste im Bereich "Image Processing" ein Unterpunkt Namens "Testmenu" auftauchen. Probier mal die einzelnen Punkte aus, dann weisst Du, ob Dein IM richtig funktioniert - ich glaube es nämlich nicht...

CU
maxhb

Peer ·

hab es mal gecheckt:
also bei scaling war alles ok und auch bei allen anderen punkten was mit png jpg, tif, bmp, pcx oder gif zu tun hatte!
(außer ai, pdf, tga)

ich benutze ja auch...
styles.content.imgtext.maxWInText = 90
styles.content.imgtext.maxW = 90
...und funktioniert ja, ist doch komisch oder???

maxhb ·
Peer schrieb

hab es mal gecheckt:
also bei scaling war alles ok und auch bei allen anderen punkten was mit png jpg, tif, bmp, pcx oder gif zu tun hatte!
(außer ai, pdf, tga)

Das ist ja schon mal gut. habe noch mal auf typo3.org geschaut und vielleicht probierst Du mal Folgendes:

tt_content.image.20.maxW = 90

Könnte klappen ...

Von Typo3.org schrieb

Now, if I want to change the value of "styles.content.imgtext.maxW" to "400", then I have two options. But a very common error here is to try this:

styles.content.imgtext.maxW = 400

See, this will not help you anywhere. The reason is that this changes the value in the object "styles.content.imgtext" and not in " tt_content.image.20" where it's ultimately used in this case. So you can do one of the following.

1) Because "styles.content.imgtext" is copied to "tt_content.image.20" by the "<" operator of TypoScript, any properties of "styles.content.imgtext" are now in "tt_content.image.20" also. Therefore you can change the value this way:

	tt_content.image.20.maxW = 400

CU
maxhb