[TYPO3] adding 'click enlarge' to a flexible content element

Peter Klein peter at umloud.dk
Mon Oct 22 09:32:02 CEST 2007


Hi Marianne. Did you look in TSRef?
As everything about imageLinkWrap is explained there..

TSRef IMAGE object:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/6/

TSRef imgResource:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/2/

TSRef imageLinkWrap:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/3/


imageLinkWrap  is a property of the IMAGE object, so all you need is 
something like this:

     <TypoScript>
 10 = IMAGE
 10.file.import = uploads/tx_templavoila/
 10.file.import.current = 1
 10.file.import.listNum = 0
 10.file.maxW = 130
 10.imageLinkWrap {
  # imageLinkWrap properties here..
 }
        </TypoScript>

-- 
Peter Klein/Umloud Untd

"Marianne Topping" <marianne at topit.dk> skrev i en meddelelse 
news:mailman.1.1192715942.13319.typo3-english at lists.netfielders.de...
> Hi
>
> Sorry, but I'm a bit stuck.
>
> I'm using pmkslimbox and wants to add it to my own content element, but I 
> do not know how to do an imagewrap in here, can anyone help with the 
> following code?
>
>
>  <type>array</type>
>  <el type="array">
>   <field_img type="array">
>    <tx_templavoila type="array">
>     <title>Billede</title>
>     <eType>imagefixed</eType>
>     <sample_data></sample_data>
>     <TypoScript>
> 10 = IMAGE
> 10.file.import = uploads/tx_templavoila/
> 10.file.import.current = 1
> 10.file.import.listNum = 0
> 10.file.maxW = 130
>       </TypoScript>
>    </tx_templavoila>
>
> -Marianne
>
> "Peter Klein" <peter at umloud.dk> skrev i en meddelelse 
> news:mailman.1.1177488312.25558.typo3-english at lists.netfielders.de...
>> Hi Nagita.
>>
>> In your FCE, change the Typoscript of your image field, so that it's 
>> wrapped with "imageLinkWrap". Then you can enanle click-enlarge.
>>
>> See TSRef for more info on the properties of imageLinkWrap.
>> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/5/3/
>>
>> You could also take a look at my extension "pmkslimbox", which replaces 
>> the default Click-Enlarge functionality, with a JS Lightbox, just by 
>> changing the "imageLinkWrap" a bit.
>> http://typo3.org/extensions/repository/view/pmkslimbox/1.1.0/
>>
>> -- 
>> Peter Klein/Umloud Untd
>>
>> "Nagita Karunaratne" <Nagita.k at gmail.com> skrev i en meddelelse 
>> news:mailman.1.1177487913.23707.typo3-english at lists.netfielders.de...
>>> Hi,
>>>
>>> I would like to have a set of thumbnail images in a Templavoila flexible 
>>> content element that have the click enlarge feature enabled. Is this 
>>> possible?
>>>
>>> I think I will have to edit the FCE directly.
>>>
>>> Thanks,
>>> Nagita
>>
>>
>
> 




More information about the TYPO3-english mailing list