[TYPO3-english] TCEforms default value for Templavoila image field?

_Tim_ info at litewebdesigns.nl
Fri Jun 19 13:28:14 CEST 2009

hi all,

i chose a different approach to the image situation described here by
andrew. hope it helps (got this code from other mailing lists, sorry for
whom the credits belong to):

In the setup field of your template, add this:

temp.logo = IMAGE
temp.logo.file.import = uploads/media/
temp.logo.file.import.data = levelmedia:3, slide
temp.logo.params= border='0'
temp.logo.stdWrap.typolink.parameter.data = leveluid:0

# lib.logo is mapped in the html template
lib.logo < temp.logo

Now you can add an image by editing Page properties > Resources > Files.
The image you add here will be inherited and placed in lib.logo mapped in
your template. If you add another image to this field down the pagetree,
this image will be used.

kind regards,
View this message in context: http://www.nabble.com/-TYPO3-english--TCEforms-default-value-for-Templavoila-image-field--tp23195387p24031856.html
Sent from the TYPO3 English mailing list archive at Nabble.com.

More information about the TYPO3-english mailing list