Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Lightbox V2 integration issues
 
Studio
Jr. Member
 
Total Posts:  17
Joined:  2008-04-30
 

I am trying to integrate Lightbox into Magento and have tried to follow the installation guide on the wiki area. However there seems to be a few differences in the code. For instance step 3 where you need to change the line (background: transparent url(../images/blank.gif) no-repeat;) this does not exist in the CSS file and there is no such image as blank.gif.
Step 5 also does not match what i have as it does not exist in media.phtml

<?php foreach ($this->getGalleryImages() as $_image): ?>
<li>
<a href="#" onclick="popWin(’<?php echo $this->getGalleryUrl($_image) ?>’, ‘gallery’, ‘scrollbars=yes,width=200,height=200,resizable=yes’);return false;">

<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(68,68); ?>” alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>” title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"/>
</a>
</li>
<?php endforeach; ?>

I have installed version 1.0 of Magento. I would be grateful for any help

 
Magento Community Magento Community
Magento Community
Magento Community
 
Studio
Jr. Member
 
Total Posts:  17
Joined:  2008-04-30
 

i think i may have found my problem i was using the latest release of Lightbox which i realise doesnt seem to work

 
Magento Community Magento Community
Magento Community
Magento Community
 
lisali
Enthusiast
 
Avatar
Total Posts:  889
Joined:  2008-04-28
London, UK
 

Hi,

Have you checked this wiki:

http://www.magentocommerce.com/wiki/adding_lightbox_to_magento_v2

Lisa
:_)

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  721
Joined:  2008-03-21
Aviano ~ Italy
 

Yes you must follow this wiki guide
http://www.magentocommerce.com/wiki/adding_lightbox_to_magento_v2

and you must download an older package of lightbox
this
http://www.huddletogether.com/projects/lightbox2/releases/lightbox2.03.3.zip

it works on 1.0 and newer

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