=====Adding Lightbox to Magento=====
For the version 1.0 or newer use the new wiki tutorial at
http://www.magentocommerce.com/wiki/adding_lightbox_to_magento_v2
**Step A.** Download Lightbox from http://www.huddletogether.com/projects/lightbox/
**Step B.** Copy //lightbox.js// and //effects.js// to //jsvarien// directory where all //.js// are located.
Step C. Open //2columns-right.phtml// in ///app/design/frontend/default/default/template/page// and add 2 lines.
after
=$this->getJsUrl()?>varien/menu.js">
add
=$this->getJsUrl()?>varien/lightbox.js"> =$this->getJsUrl()?>varien/effects.js" >
and then we must add css to our page layout. We make this very simple by adding
after
**Step D.** The last step is changing the
getGalleryImages() as $_image):?>
to
getGalleryImages() as $_image):?>
in //app/design/frontend/default/default/template/catalog/product/view.phtml//
Working example on http://demo.lento.pl/catalog/product/view/s/coalesce-functioning-on-impatience-t-shirt/id/119/category/4/
I haven't found a way to show lightbox over zoom div. This is probably set in css so I must look further.