[Typo3] image not displayed when using file.width

Stefan Clos coderaccount at googlemail.com
Mon Sep 19 21:12:27 CEST 2005


I get the solution.
The imagemagick installation was not correct after i changed some stuff 
on my linux.



Stefan Clos schrieb:
> I'm new to typo3 and just tryed my first examples.
> 
> The image set up in the typo3 template are not visible using the typo
> Script code above.
> TYPO3 print out an img tag without image-position in src:
> "<img src="" width="" height="" border="0" alt="" title="" />"
> 
> 
> When i commenting out the last line "LOGO.file.width = 178" i get this
> html-code:
> "<img src="fileadmin/images/logo.jpg" width="220" height="122"
> border="0" alt="" title="" />"
> and the picture is displayed well, but too big.
> 
> cheers,
> Stefan
> 
> --------------------------------------------------------------------------------------------------------
> # Default PAGE object:
> page = PAGE
> page {
>   typeNum = 0
>   bodyTag = <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0">
>   meta.AUTHOR = Stefan Clos
>   meta.DESCRIPTION = Hier steht eine Beschreibung
>   stylesheet = fileadmin/style.css
> 
>   # Die Designvorlage integrieren
>   10 = TEMPLATE
>   10.template = FILE
>   10.template.file = fileadmin/vorlage.html
>   10.workOnSubpart = DOKUMENT
> 
>   # Den Platzhalter DATUM ansprechen
>   10.marks {
>       DATUM = TEXT
>       DATUM.data = date : d.m.Y
> 
>       LOGO = IMAGE
>       LOGO.file = fileadmin/images/logo.jpg
>       LOGO.file.width = 178
>       }
>   }
> ------------------------------------------------------------------------------------------------------------------------



More information about the TYPO3-english mailing list