Zen Cart Logo
Forums / General Questions / additional images not showing after upgrading zen lightbox

additional images not showing after upgrading zen lightbox

Locked

Views: 2,244

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Nov 2007, 5:08 PM
#1
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

additional images not showing after upgrading zen lightbox

Hello, I upgraded to the latest zen lightbox and now my additional images are not showng on my site. In admin, I can see all the additional images under image handler. These are the only 2 contributions I am using for images.

Thank you!

12 Nov 2007, 6:03 PM
#2
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: additional images not showing after upgrading zen lightbox

EXACTLY. I'm not sure, but I think the same happened to me. My additional images stopped showing just after zen-lightbox installation.

Hmm...

12 Nov 2007, 7:37 PM
#3
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: additional images not showing after upgrading zen lightbox

Nimbuz:

EXACTLY. I'm not sure, but I think the same happened to me. My additional images stopped showing just after zen-lightbox installation.

Hmm...

which template are you using?

13 Nov 2007, 1:38 AM
#4
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: additional images not showing after upgrading zen lightbox

Custom.

Buti I verified last night that it was indeed zenlightbox causing this issue.

28 Mar 2008, 5:27 PM
#5
simonsimon avatar

simonsimon

New Zenner

Join Date:
Mar 2008
Posts:
1
Plugin Contributions:
0

Re: additional images not showing after upgrading zen lightbox

It seems to be an issue with the additional_images.php override found in:
includes/modules/YOUR_TEMPLATE_FOLDER

I fixed the problem by replacing the line (near line 23):

$products_image_base = str_replace($products_image_extension . '$', '', $products_image);

with:

$products_image_base = str_replace($products_image_extension, '', $products_image);

This fixes the problem and applies lightbox to all images, but produces a few javascript errors that were not there before:

showtrail is not defined
onmouseover(mouseover clientX=0, clientY=0) @ index.php (line 1)

hidetrail is not defined
onmouseout(mouseout clientX=0, clientY=0) @ index.php (line 1)

They don't seem to effect anything important on any browsers I tested on, but I do hate to have any javascript errors at all.