[TYPO3-dam] DAM and levelmedia
Bjoern Pedersen
bjoern.pedersen at frm2.tum.de
Mon Nov 8 16:25:54 CET 2010
Am 08.11.2010 15:59, schrieb Tizian Schmidlin:
> Hi folks,
>
> as I tried to implement the good old way of setting header images I got
> a problem while using DAM.
>
> This is the code as I'm used to use it:
>
> 1 = IMAGE
> 1 {
> wrap = <div class="bigImage">|</div>
> // import = uploads/media/
> // import.data = levelmedia:-1,slide
> // import.listNum = 0
> // override.field = media
> file {
> import = uploads/media/
> import.data = levelmeda:-1,slide
> import.listNum = 0
> maxW = 404
> maxH = 292
> }
> }
>
> Has anyone an idea how I could solve my problem?
>
> Thanks
>
> Greets Tizian
10 = IMG_RESOURCE
10 {
file {
import.cObject = USER
import.cObject {
userFunc = tx_dam_pages->get_media_file
listNum=0
slide = 1
defaultFile= fileadmin/templates/luftbild_w.jpg
}
width = 177c+30
height =117c
#width = 117m
#height =117m
}
}
More information about the TYPO3-project-dam
mailing list