[TYPO3] Wrap Image in a div?

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Nov 21 16:01:01 CET 2007


Hi!

Christian Leicht wrote:
> 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?
...
> 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>

IMG_RESOURCE does not have wrap property. This is the problem. According to http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/7/ you should use "stdWrap.wrap".

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-english mailing list