[Typo3] flexable content and click to enlarge

Cristiano Santeramo webmaster at ismatera.it
Sun Jan 30 20:01:43 CET 2005


Hi Matt				

I use the following to obtain enlarge image and works:

                              <field_fb_image type="array">
                                <tx_templavoila type="array">
                                    <title>Feature Box Image</title>
                                     <description>Map the Image for the feature box</description>
                                    <sample_data type="array">
                                        <numIndex index="0"></numIndex>
                                    </sample_data>
                                    <eType>image</eType>
                                    <TypoScript><![CDATA[
	10 = IMAGE
	10.file.import = uploads/tx_templavoila/
	10.file.import.current = 1
	10.file.import.listNum = 0
	10.file.maxW = 179

### begin CODE to obtain enlarge image ###
10.imageLinkWrap = 1
10.imageLinkWrap {
  bodyTag = <body style="background-color:#fff;">
  wrap = <a href="javascript:close();"> | </a>
  width = 800m
  height = 600m
  effects=
  JSwindow = 1
  JSwindows {
    newWindow = 0
    expand = 17,20
    }
  enable = 1
  typolink.parameter.field=image_link
  typolink.extTarget = _blank
}
### end code to obtain enlarge image ###

                         ]]></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>Feature Box Image</label>
                                </TCEforms>
                            </field_fb_image>


- Cristiano Santeramo (jigante)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/48518/
					



More information about the TYPO3-english mailing list