Hercilio Costa
Total Posts: 44
Joined: 2008-07-15
Hi Serpico,
place your js file in domain.com/skin/frontend/default/modern/js/lightbox/lightbox.js
Put this two lines in page.xml:
< action method = "addItem" >< type > skin_js </ type >< name > js / lightbox / lightbox . js </ name ></ action > < action method = "addItem" >< type > skin_css </ type >< name > css / lightbox . css </ name ></ action >
Posted: October 2 2008
| top
| # 16
srinigenie
Total Posts: 398
Joined: 2008-02-04
have you tried floatbox ??
Posted: October 2 2008
| top
| # 17
Lorenzo66
Total Posts: 13
Joined: 2008-06-04
London, UK
Hello,
I have been struggling a bit with lightbox but eventually I figured things out.
1) What Hercilio suggests it’s correct. For some reason the js doesn’t get through if it is not done in the way Hercilio suggests.
2) With the latest versions of magento (I’m running the 1.1.6) you need the latest version of lightbox.
enjoy!
Posted: October 2 2008
| top
| # 18
serpico
Total Posts: 6
Joined: 2008-08-28
Don’t forget to clear your Magento cache too.
Posted: October 5 2008
| top
| # 19
jemoon
Total Posts: 46
Joined: 2008-09-30
Gdansk, Poland
Dustballs From a quick scan of your code I see that you haven’t changed your media.phtml file.
Signature
Wszystkich zainteresowanych zapraszam na Nieoficjalne, Polskie Forum Magento
Dustballs
Total Posts: 1
Joined: 2008-10-13
Thanks, Jemoon,
I had previously changed the media.phtml file in “default/default/template/catalog/product/view” folder instead
I have now updated the media.phtml file in “default/modern/template/catalog/product/view”
and It’s now working, HOWEVER, all my lightbox pictures show the same product title instead of the image title, is this normal?
Thanks heaps…
Signature
Gary
Project: M Magento Shop