I'm working on Typo3 6.2 and I have a page with a media (picture) uploaded in the "resource" field t :
I'm trying to get the picture in my Typoscript and i believe i have to use a property like {field:something_here} but I don't know chich one ?
EDIT :
I already tried this, with no success (nothing is generated) :
5 = FILES
5 {
references.data = levelmedia:-1,slide
references.listNum = 0
renderObj = TEXT
renderObj.data = file:current:publicUrl
}
and this :
5 = FILES
5 {
references {
table = pages
uid.data = page:uid
fieldName = ogimage
}
maxItems = 1
renderObj = TEXT
renderObj {
data = file:current:uid
}
}
}
and this :
5 {
file.import.data = levelmedia: -1, slide
file.import = fileadmin/user_upload/
file.import.listNum = 0
file.import.override.field = media
}
.. this code above generate a picture (http://www.mycompany.com/typo3conf/ext/news/Resources/Public/Icons/news_domain_model_news_add.png) but not the good gone !