[TYPO3] Make dynamic header image a background image

dave typo typothree at gmail.com
Fri Dec 1 10:41:43 CET 2006


hi have you considered doing this via css? should be a lot easier to
configure a dynamic image with css than with typoscript...

On 12/1/06, Brian Bendtsen <nightowl at galnet.dk> wrote:
>
> Hi
>
> On one of my sites I have a dynamic header image made with TV and
> typoscript like this:
>
> #Header Image
> lib.topimage = IMAGE
> lib.topimage {
>
> # Default image if no image is inserted on the page
>    file = fileadmin/templates/topimages/headerImage3.jpg
>    file.import.data = levelmedia: -1, "slide"
>
> # Folder to upload the userdefined images to
>    file.import = fileadmin/templates/topimages/
>    file.import.listNum = 0
>    file.import.override.field = media
> }
>
> The code generated is:
>
> <div id="grafik-logo">
>   <img src="fileadmin/templates/topimages/headerImage3.jpg" width="804"
> height="227" border="0" alt="" title="" />
> </div>
>
> Is there any way to make the headerimage a background image in stead?
>
> <div id="grafik-logo"
> background="fileadmin/templates/topimages/headerImage3.jpg">
> </div>
>
> /Brian Bendtsen
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list