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

Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #191  
Old 08-31-2006, 10:53 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

4.1.x has a similar mod built-in, look around the admin settings
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #192  
Old 09-02-2006, 12:34 PM
 
goldoak goldoak is offline
 

Newbie
  
Join Date: Oct 2003
Posts: 7
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Quote:
Originally Posted by B00MER
4.1.x has a similar mod built-in, look around the admin settings
Yes, I've enabled the module to display the detailed images in a popup window, but I don't see anything about displaying the image alt tag text with the image.
How can I have the alt text show below the image as a caption?
__________________
jm plein consulting
Communication Strategies for Small Business
pleinconsulting.com
Reply With Quote
  #193  
Old 09-02-2006, 02:10 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

I beleive {image.[i].alt} would work in the instance, [i] being the iteration of a section/foreach loop if there are multiple images. Just taking a stab in the dark, but should help you achieve what you want.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #194  
Old 09-05-2006, 07:57 AM
 
goldoak goldoak is offline
 

Newbie
  
Join Date: Oct 2003
Posts: 7
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Quote:
Originally Posted by B00MER
I beleive {image.[i].alt} would work in the instance, [i] being the iteration of a section/foreach loop if there are multiple images. Just taking a stab in the dark, but should help you achieve what you want.
Thanks Boomer, but that didn't work. With that code added, the popup opens but no images display.
In the img tag, the alt text is referred to as '{$images[$idx].alt|escape}' and it does work to include the alt text within the img tag. But it does not work to display the text on the page.
Does something have to be declared or coded in 'popup_images.js'?
__________________
jm plein consulting
Communication Strategies for Small Business
pleinconsulting.com
Reply With Quote
  #195  
Old 09-13-2006, 09:21 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

hey boomer, sees like a champion mod!

1. is this working on 4 0 18?

2. where to do i get the latest must updated instructions/files?

3. does the latest version include:
next previous links
1 of xx
title of image
click here to close link

thanks as always
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #196  
Old 09-13-2006, 09:26 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

is there a way to set the initial size of the pop up to say 400 x 400

so if the
# 1 image is 200 x 200, the window will remain at 400 x 400

# 2 image is 600 x 600, the window will increase to 600 x 600 approx

# 3 image is 300 x 300, the window will default to 400 x 400

I think a method like this will allow for more of a consistent window size
that only needs to expand on special huge image cases.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #197  
Old 09-14-2006, 10:01 AM
 
goldoak goldoak is offline
 

Newbie
  
Join Date: Oct 2003
Posts: 7
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Hi All,
Just got info from X-cart support:
the syntax '{$images[$idx].alt|escape}' is correct to display the alt text in the popup window with the image. It just is not compatible with the module option "Switch detailed images...without page reloading".
Once I turned off that option the alt text displayed as I wanted.
__________________
jm plein consulting
Communication Strategies for Small Business
pleinconsulting.com
Reply With Quote
  #198  
Old 09-27-2006, 02:28 PM
  Kara's Avatar 
Kara Kara is offline
 

Advanced Member
  
Join Date: May 2006
Location: O'fallon, Missouri
Posts: 77
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Quote:
Originally Posted by B00MER
What version of X-Cart are you running?

If your using any version above 3.5.x+ you'll need to put the php file straight in the root of your x-cart installation and change the reference in the .tpl files accordingly.

Hope this helps.


What .tpl files are you referring to? I am having the same problem.

And as well, I get this message:
[img]/store/skin1/images/preview.gif/img]View Details
under the product picture


http://d2729703.u51.websitesource.net/store/product.php?productid=16415&cat=249&page=1

Other than that, I have it working and I am def not a tech head. Your help would be greatly appreciated.
__________________
x-cart gold 4.6

Kara Design Group, Inc.
http://www.karadesigngroup.com
Professional Creative Services
Reply With Quote
  #199  
Old 09-27-2006, 06:38 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Change [img] tags to the proper <IMG html counterpart since the change from phpBB to vB it seems code tags got converted as well.

Hopefully I can fix the posted code in the future.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #200  
Old 10-08-2006, 06:03 PM
 
martin242 martin242 is offline
 

Advanced Member
  
Join Date: May 2004
Location: Buenos Aires, Argentina
Posts: 42
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Hi there,
I would like to show the detailed image on a popup window when you click on any product's thumbnail instead of linking to the product itself. Any ideas of how to do this?
__________________
X-Cart Gold 4.0.14
Modified FlexyRectangles Skin
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:30 AM.

   

 
X-Cart forums © 2001-2020