Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Additional Product Images Pop-Up Small

Additional Product Images Pop-Up Small

Locked

Views: 857

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
11 Aug 2009, 8:57 AM
#1
jabtac avatar

jabtac

New Zenner

Join Date:
Jun 2009
Posts:
17
Plugin Contributions:
0

Additional Product Images Pop-Up Small

I'm having an issue where my additional images in the Product Info page are not popping up the _LRG files I uploaded. It is only popping up the same source file from the same source folder (/images). For example, if I hover my mouse over the additional image, the javascript is saying it will open /images/OriginalFile_02.jpg - NOT /images/large/OriginalFile_02_LRG.jpg

I've uploaded my original file (OriginalFile_02.jpg) in /images and OriginalFile_02_LRG.jpg in /images/large

Any thoughts?

http://jabtac.com/store/index.php?main_page=product_info&cPath=9_10_26&products_id=45

Thank You!

11 Aug 2009, 1:52 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional Product Images Pop-Up Small

Could you change to the Classic Template ... I am testing your images on my site and they all work as you have them defined but they do not work on your site ...

This could be a template issue ...

11 Aug 2009, 4:05 PM
#3
jabtac avatar

jabtac

New Zenner

Join Date:
Jun 2009
Posts:
17
Plugin Contributions:
0

Re: Additional Product Images Pop-Up Small

Ajeh:

Could you change to the Classic Template ... I am testing your images on my site and they all work as you have them defined but they do not work on your site ...

This could be a template issue ...

I switched to the classic template and the images and javascript worked correctly. So I guess I changed something somewhere along the line with my custom template... However I have no idea what changes that would be or where I made them...

Any idea how I can edit that javascript to look in the /images/large folder for the OriginalFiles_02_LRG or is it something else?

Thank You!

11 Aug 2009, 4:47 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional Product Images Pop-Up Small

I am not sure what settings your templates and overrides might have touched ...

I generally like to use Beyond Compare from scootersoftware.com which allows me to compare files and see the differences ...

11 Aug 2009, 4:56 PM
#5
jabtac avatar

jabtac

New Zenner

Join Date:
Jun 2009
Posts:
17
Plugin Contributions:
0

Re: Additional Product Images Pop-Up Small

I have WinMerge.... is that a comparable tool or does Beyond Compare do something else?

I have looked at a couple things that don't appear to have been changed, such as the /includes/templates/MYTEMPLATE/popup_additional_image/tpl_main_page.php

I'm using the column grid layout add-on, not sure if that changes anything... And I noticed that the word "larger image" under my additional images is slightly larger and black vs. the way "larger image" is displayed under my main product image at the top of the product info page.... Not sure if that's related or not.

12 Aug 2009, 3:36 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional Product Images Pop-Up Small

I do not use WinMerge, although many like it ... I prefer Beyond Compare as I can do an FTP compare from my computer to the server ...

I can select the default template and compare to a custom template etc. by just pointing at the directories to compare to one another ...

Another method is the Developers Tool Kit ... do a search on:
Additional Product Images

and see what files come up and that should give you a lead to what files to start looking at ...

12 Aug 2009, 5:18 AM
#7
jabtac avatar

jabtac

New Zenner

Join Date:
Jun 2009
Posts:
17
Plugin Contributions:
0

Re: Additional Product Images Pop-Up Small

Ajeh-
Thanks for the help. Problem solved! The Developers Tool Kit pointed me to: store/includes/modules/MYTEMPLATE/additional_images.php

I cross-referenced additional_images.php with the original using WinMerge and found the issue. At one point in time I had tried out the JQZoom Module and had uploaded their amended additional_images.php file which had changes in it that weren't allowing my additional product images to be linked to correctly. I replaced that file with the original and everything is working correctly.

Thanks again for the nudge in the right direction.

-Jonathan

12 Aug 2009, 1:31 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional Product Images Pop-Up Small

You are most welcome ... thanks for the update that your override was causing the problems that you were experiencing on the additional images ... :smile: