Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Detailed Image Issue or bug?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-19-2009, 11:34 AM
 
gman gman is offline
 

eXpert
  
Join Date: Sep 2002
Posts: 211
 

Default Detailed Image Issue or bug?

The product layout gets wacked when we use the following settings under general settings/detail images:

Display detailed product images in popup window
Display detailed product image thumbnails below the product image


It appears to dynamically adjust the following div class which blows the layout out of proportion:

Code:
<div class="image-box" style="width: 241px; height: 225px;">

The above settings change from product to product without any rhyme of reason. Here are some settings from other products:

Code:
<div class="image-box" style="width: 242px; height: 225px;">

Code:
<div class="image-box" style="width: 125px; height: 225px;">

This is creating a nightmare for the way things look. We need all of the previews and everything to stay within the 180px area that is set in the following code:
Code:
<div class="image" style="width: 180px;">

Any ideas?
__________________
Gman



X-Cart Gold 4.6.0
Reply With Quote
  #2  
Old 08-19-2009, 03:22 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Detailed Image Issue or bug?

In my sig, theres a link for installing highslide.

What you can do is this:
1) Use highslide single.
2) In the product.tpl file, move the detailed images from the bottom of the file to under the product_thumb.tpl include. That will put them under it.
3) In the admin section, you can set how many go across ("Number of detailed image thumbnails that must fit into the width of the thumbnail area (1-6)")
__________________
- Shane Munroe
Reply With Quote
  #3  
Old 08-19-2009, 03:41 PM
 
gman gman is offline
 

eXpert
  
Join Date: Sep 2002
Posts: 211
 

Default Re: Detailed Image Issue or bug?

I just found where the issue was. Under general settings/appearance/displaying products the setting for product image is NOT just for the size of the product image it also controls the size of the mouse-over image when detailed image thumbnails are displayed under the product image.
__________________
Gman



X-Cart Gold 4.6.0
Reply With Quote
  #4  
Old 10-27-2009, 08:19 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Detailed Image Issue or bug?

That is not the problem I am having. The mouseover works great, but when clicking on one of the thumbnails, or the link that says "view detail images", a popup opens (which it is supposed to do), but the popup is much smaller than the detail image, and only includes 2 of the thumbnails instead of the 4 that we have designated to be there. Also, clicking on one of the thumbnails opens the screen full size and makes our web site disappear (the only was to get back is to click the "back" button on the web browser.

How can I disable the popup but retain the mouseover? I'm working with v4.2.3.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 11-21-2009, 09:36 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Detailed Image Issue or bug?

Ok not sure if this is techincally correct but it seems to fix that problem. 4.2.2 when I click on view detaild images and the popup window appears it gives "imagesNavigatorList is undefined" error message. When any image in the popup window is clicked that same window opens up in the whole browser and the only way to close it without closing the product is to use "back" browser button. That's the description of the problem. Now the solution (I think)

open skin1/main/popup_image_js.js, find this line
Code:
this.images = imagesNavigatorList;
and change it to
Code:
this.images = imagesNavigatorList[];

It seems to work without any issues but I am not js expert. Tested in IE7, FF 3.5.5, Safari 4.0.4, GC 3.0.195.33

EDIT: see next post for solution, scratch that one
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 11-21-2009, 12:02 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Detailed Image Issue or bug?

Check your in <xcart-dir>/skin1/main/popup_image.tpl file and see if around line 4 it says
<script type="test/javascript">
it should be
<script type="text/javascript">
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote

The following 2 users thank JWait for this useful post:
cflsystems (11-21-2009), gaz (12-08-2010)
  #7  
Old 11-21-2009, 12:24 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Detailed Image Issue or bug?

Oh man I look through that file line by line 1000 times wondering why in the world this array will not populate since the code is there....
Guess we all need second pair of eyes from time to time
Thanks
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 11-23-2009, 01:03 PM
 
wonder_fool wonder_fool is offline
 

Member
  
Join Date: Oct 2004
Posts: 19
 

Default Re: Detailed Image Issue or bug?

I made the test to text change, but I am still having the issue where if you click a nav image in the pop-up, it goes full screen and my product page disappears.

Any ideas?
__________________
-Jamie :: Wandering Star
-XCart Gold v.4.2.2
Reply With Quote
  #9  
Old 11-23-2009, 03:49 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Detailed Image Issue or bug?

run cleanup.php to clear the cache
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #10  
Old 11-23-2009, 04:11 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Detailed Image Issue or bug?

Quote:
Originally Posted by wonder_fool
I made the test to text change, but I am still having the issue where if you click a nav image in the pop-up, it goes full screen and my product page disappears.

Any ideas?

Qualiteam sent me a new common.js (attached) with the following instructions:
"I've attached an updated version of common.js file to this message. Please upload it into the 'skin1/' directory and test the functionality once again. Probably this is exactly what you need.

Note: I'd highly recommend you to backup current skin1/common.js file before replacing it with a new one."

I did so, but didn't notice any difference until the "text"for "test" fix mentioned earlier.

Note: the only way I could attach the common.js was to make it into a text file. Remove the ".txt" to return it to the correct format.
Attached Files
File Type: txt common.js.txt (28.6 KB, 139 views)
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:02 AM.

   

 
X-Cart forums © 2001-2020