[TYPO3-commerce] HowTo: image click enlarge

Thomas Hartwig [hartwig consult] info at hartwig-consult.de
Wed Sep 5 11:05:18 CEST 2007


Thank you. Would you put this nice tutorial to Wiki? I think it is nice for
other commerce users.

Regards, Thomas


> -----Ursprüngliche Nachricht-----
> Von: typo3-project-commerce-bounces at lists.netfielders.de 
> [mailto:typo3-project-commerce-bounces at lists.netfielders.de] 
> Im Auftrag von Franz Koch
> Gesendet: Mittwoch, 5. September 2007 00:00
> An: typo3-project-commerce at lists.netfielders.de
> Betreff: Re: [TYPO3-commerce] HowTo: image click enlarge
> 
> Hi Thomas,
> 
> > is there any posibility to enlarge a product image on click?
> 
> yes there is - you can apply clickEnlarge by adding the 
> appropriate TS values. For further details have a look here 
> [1] and here [2] on imageLinkWrap for configuration.
> you can apply it like this (depending on which stage you want 
> to apply the clickenlarge feature):
> 
> Example for enlarging in singleView
> ---------
> plugin.tx_commerce_pi1 {
>    singleView.products.fields {
>      images {
>        # you can either copy the configuration from tt_content
>        imageLinkWrap < tt_content.20.1.imageLinkWrap
>        imageLinkWrap.enable >
>        imageLinkWrap.enable = 1
> 
>        # or you can configure it for your special needs
>        imageLinkWrap = 1
>        imageLinkWrap {
> 	enable = 1
>          # ... for configuration see [2]
>        }
>      }
>    }
> }
> ---------
> you only need one of the two possibilities shown in the example.
> 
> For a much more image manipulation and multiple images per 
> product have a look at the topic with the title 'HowTo: 
> Multiple images' in this list. If you use my posted solution 
> there you can use multliple images by only changing the TS 
> without any need for external php functions.
> 
> 
> [1]
> http://typo3.org/documentation/document-library/references/doc
> _core_tsref/4.1.0/view/8/6/
> [2]
> http://typo3.org/documentation/document-library/references/doc
> _core_tsref/4.1.0/view/5/3/
> --
> Kind regards,
> Franz Koch
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-pro
> ject-commerce



More information about the TYPO3-project-commerce mailing list