[TYPO3] TV: Image Field: click enlarge
Patric Schmid
info at virtualvisions.ch
Mon Jun 19 14:32:16 CEST 2006
How can I define the click-enlarge functionality in a Templavoila Image
Field
I've tried the following:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langChildren type="integer">1</langChildren>
<langDisable type="integer">1</langDisable>
</meta>
<ROOT type="array">
<tx_templavoila type="array">
<title>FCE1</title>
<description>Select the HTML element on the page which you want
to be the overall container element for the template.</description>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_image type="array">
<tx_templavoila type="array">
<title>Bild</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>image</eType>
<TypoScript>
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 200
10.imageLinkWrap = 1
10.imageLinkWrap.enable = 1
10.imageLinkWrap.bodyTag = <BODY bgColor=black>
10.imageLinkWrap.wrap = <A href="javascript:close();"> |
</A>
10.imageLinkWrap.width = 800
10.imageLinkWrap.height = 600
10.imageLinkWrap.JSwindow = 1
10.imageLinkWrap.JSwindow.newWindow = 1
10.imageLinkWrap.JSwindow.expand = 17,20
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
<label>Bild</label>
</TCEforms>
</field_image>
</el>
<section>0</section>
</ROOT>
</T3DataStructure>
but this destroys the xml
Please help, thank you!
cheers
tric
More information about the TYPO3-english
mailing list