[TYPO3] Wrap Image in a div?

Christian Leicht usenet at schani.com
Wed Nov 21 15:45:32 CET 2007


Hallo,

i like to place a Image in a Div tag as background image, and find no 
working wrap.
It´s dynamic generated on each page.

how can i use a wrap?

Thanks for help

Christian



Here´s my TS. All i get is the path of the image, but without the <div

lib.logo = IMG_RESOURCE
lib.logo {
			
wrap = <div style="background-image:|"><div>
file = GIFBUILDER
file {
XY = 2000, 100
format = jpg
quality = 80

             		
10 = IMAGE
10 {
             		
  file.width = 2000
  file.height = 100
  file.import {
       cObject = TEXT
       cObject {
       value = fileadmin/templates/2000er3.jpg
       override {
            listNum = 0
            required = 1
           data = levelmedia: -1, slide
           wrap = uploads/media/|
             					}
             				}
             			}
             		}


More information about the TYPO3-english mailing list