Zen Cart Logo
Forums / Installing on a Linux/Unix Server / AIS Image not showing on product page

AIS Image not showing on product page

Views: 1,094

Results 1 to 6 of 6
5 Jun 2016, 7:49 AM
#1
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

AIS Image not showing on product page

Hi

I have just (yesterday) done a clean install of 1.5.5a and used a backup of my old database to repopulate everything.
I have only installed a "Direct Deposit" payment module on top of that.

All is looking good except the images aren't showing on my products page.

You can see them OK here:
http://www.skysports.com.au/index.php?main_page=index&cPath=67
but not here:
http://www.skysports.com.au/index.php?main_page=product_info&cPath=67&products_id=239

Also, if I switch to classic, I can see them OK, but not in premium4b.
As this was just copied from my old site, I assume this is where the problem lies.

What do I need to do to fix this?

Kenton

5 Jun 2016, 8:12 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: AIS Image not showing on product page

It looks like you have some sort of image swapping module installed, but it is missing some info/files. Make sure you copy all the files and database settings.

5 Jun 2016, 10:09 AM
#3
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Re: AIS Image not showing on product page

Hmmm, I used to have Ajax image swapper in my old (blown away) version 3.1.3h?

AIS seems VERY out of date. I copied the /ajax directory back but that hasn't helped.

Where did you see the reference to image swapping? Perhaps I could track down the issue if I knew what/where you were looking?

Thanks
Kenton

5 Jun 2016, 10:15 AM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: AIS Image not showing on product page

I did a view source on the exampple page you gave, and saw missing defines. See: value="THESE_UPPERCASE_ARE_NOTDEFINED"

<!--bof Main Product Image -->
 <div id="image_viewer" style="height: 10px">
 <!-- bof Zen Slimbox v0.1 btyler 2007-12-04 -->
     <div id="image_medium_container">
     </div>
     <div id="image_nav_container">
     <a id="arrow_left" href="javascript:viewPrevious()" class="back"></a>
     <a id="arrow_right" href="javascript:viewNext()" class="forward"></a>
     </div> </div> <input type="hidden" id="ais_image_num" value="IMAGE_VIEWER_IMAGES_NUM" />
 <input type="hidden" id="ais_small_container_width" value="IMAGE_VIEWER_SMALL_IMAGE_WIDTH" />
 <input type="hidden" id="ais_small_container_height" value="IMAGE_VIEWER_SMALL_IMAGE_HEIGHT" />
 <input type="hidden" id="ais_scroll_size" value="IMAGE_VIEWER_SCROLL_SIZE" />
 <input type="hidden" id="products_id" name="products_id" value="" />
 <!--eof Main Product Image-->
6 Jun 2016, 2:02 AM
#5
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Re: AIS Image not showing on product page

Thanks for your help.
From that I used developers toolkit and saw where the issue was loacated.
I found the old version of tpl_product_info_display and restored that .... BINGO!

6 Jun 2016, 5:30 AM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: AIS Image not showing on product page

Great! Glad you solved it.