[TYPO3-commerce] HowTo: image click enlarge
Franz Koch
typo.removeformessage at fx-graefix.de
Wed Sep 5 00:00:29 CEST 2007
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
More information about the TYPO3-project-commerce
mailing list