Magento Forum

How do i integrate Lightbox 2
 
dborneman
Member
 
Total Posts:  36
Joined:  2008-04-16
 

There is a short tuturial on how to integrate lightbox 1, in a previous version of Magento but the files have been changed and i cant get this lightbox 2 for my images to work.

Is there anyone on this community who knows how to or can find out how to implent Lightbox 2 in Magentocommerce 1.0?

Link to the lightbox2 page:
http://www.lokeshdhakar.com/projects/lightbox2/#example

I found this guide:
http://www.magentocommerce.com/wiki/adding_lightbox_to_magento_v2

But after following this guide my problem is still not solved: when i click on a image it opens in a new page, see:
http://www.crazymob.nl/webwinkel1/universal-camera-charger.html

I also have this problem if i look at pictures on this page:
http://www.crazymob.nl/webwinkel1/universal-camera-charger.html

Only on the new version, i see the correct method, see:
http://www.lokeshdhakar.com/projects/lightbox2/

Does anyone know a solution to this problem?

Warm Regards,
D.Borneman

 
Magento Community Magento Community
Magento Community
Magento Community
 
Emily
Jr. Member
 
Avatar
Total Posts:  22
Joined:  2008-03-31
Atlanta
 

I had the same problem.  I upgraded prototype.js (js/prototype/prototype.js) to the version included with the lightbox download - 1.6.  I haven’t extensively tested the rest of the site to make sure the upgrade doesn’t break other things, but the upgrade does make lightbox work.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tomislavbilic
Member
 
Avatar
Total Posts:  69
Joined:  2007-11-17
Osijek, Croatia
 

I did those exact steps 1 by 1 and I had absolutely no problem. Tutorial works fine for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
yogabasics
Jr. Member
 
Total Posts:  19
Joined:  2008-04-07
 

I’ve gotten this to work fine too, but I believe the instructions on the wiki are not up to date and that I used the info found here: http://www.magentocommerce.com/boards/viewthread/5826/P0/

Towards the bottom of the first page there are good instructions, I believe there is an issue with the most current version of lightbox 2 not working properly and there is a link to download the version that works right.

Good luck!

 
Magento Community Magento Community
Magento Community
Magento Community
 
norbolig
Guru
 
Total Posts:  328
Joined:  2008-03-15
 

Is it possible to post some examples of magento web shops that have light box integrated?

That would make it a lot easier to decide if this is a wanted feature? Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
yogabasics
Jr. Member
 
Total Posts:  19
Joined:  2008-04-07
 

I’m still in development, so I don’t have a url for you, but I feel upgrading to lightbox over the default pop-up box enlarger is the way to go.  Go to the lightbox home page to see the demo and that is how it should work on your magento page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
norbolig
Guru
 
Total Posts:  328
Joined:  2008-03-15
 

@Yogabasics: Thanks. Please let me know when your project is ready to show-off.

What is the pro and cons for lightbox vs. the pop-up box enlarger?

I strongly believe that pictures sells more than any words, so I am looking for high quaility product images, and will probably use 600 or 800 pixels with (for me 800 x 800 pixels works great with the pop-up box enlarger).

 
Magento Community Magento Community
Magento Community
Magento Community
 
tomislavbilic
Member
 
Avatar
Total Posts:  69
Joined:  2007-11-17
Osijek, Croatia
 

//////////////////////////////////////////////////////////////////

 
Magento Community Magento Community
Magento Community
Magento Community
 
norbolig
Guru
 
Total Posts:  328
Joined:  2008-03-15
 

Maybe you also could look at Highslide JS, that offers some very elegant image displaying with texting etc.: http://vikjavev.no/highslide/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top