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

Easy dynamic thumbnail generation
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #31  
Old 06-20-2006, 11:35 AM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

Quote:
Originally Posted by JWait
What I am trying to achieve is to have the original image (and detailed images if there are any) displayed on the product page as a thumbnail that will open in a popup window if they are clicked. Presently we are using the telefirma image mod in xcart version 4.0.18 and are very happy with it, but plan to change to 4.1 when it is stable. Will this plugin work for what we are trying to do? If so any help in incororating it would be appreciated.

Yes, it will do that, the very first product_images.tpl I posted will do that. It uses the main image as well as the detailed product images. The detailed product images are displayed as thumbs and open a window with the full sized image when clicked. It needs work, though. The images pop up in a full sized window. I'll take a look at it.
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #32  
Old 06-21-2006, 11:15 PM
 
Eddie Hillegers Eddie Hillegers is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 47
 

Default

When i produce my html catalog into the root, the path to the tumbnails
is incorrect " images/cache " instead of " samenstellen/images/cache "

My quick and dirty solution is to copy the " images/cache " to the root as well
but it's not a very nice solution is ther a way out of this?

Cheers Eddie[/b]
__________________
X-cart 4.1.11
PHP 5.2.0
MySQL 5.0
www.ebonist.nl
Reply With Quote
  #33  
Old 06-21-2006, 11:28 PM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

Just use the smarty replace function.
Code:
|replace:"site path to remove":"samenstellen/"

*edit* Hmm, that won't work either. I'll look into it. I haven't tested this with html catalog.
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #34  
Old 06-21-2006, 11:39 PM
 
Eddie Hillegers Eddie Hillegers is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 47
 

Default

That does work exept for the first loading detailed image that becomes a broken
link, as soon as you do a mouseover it finds the detailed images
__________________
X-cart 4.1.11
PHP 5.2.0
MySQL 5.0
www.ebonist.nl
Reply With Quote
  #35  
Old 07-05-2006, 06:52 AM
 
gfiebich gfiebich is offline
 

Senior Member
  
Join Date: Feb 2003
Location: St. Paul, MN
Posts: 108
 

Default

I'm trying to use the {thumb} plugin to resize the thumbnail images I'm displaying in my recommends.tpl. So far, I haven't been able to figure out the correct variable for the thumbnail image path. Can anyone tell me how this should be formatted for thumbnails:
Code:
$images[image].image_path
thanks!
Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS
Reply With Quote
  #36  
Old 07-10-2006, 04:17 AM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Hi,

How exactly do i edit the product_images.php file

Do I replace the entire file with

or do I keep certain parts of the file

I get this error

Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /xcart/modules/Detailed_Product_Images/product_images.php on line 54

Thanks

Tahir
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
  #37  
Old 07-10-2006, 05:54 AM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

You don't edit product_images.php, you edit product_images.tpl.

And yes, you replace the whole thing.
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #38  
Old 07-10-2006, 07:45 AM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Hi Thanks.

I have done that. Now when I enter a product page it does not show the detailed image only the small thumbnails. I checked the root of the detailed image and it has the wrong path. It should be;

http://www.urbanretro.co.uk/xcart/images/detailed/d_20_01.gif

but instead it comes up as

http://www.urbanretro.co.uk/home/tahir786/public_html/urbanretro-co-uk/xcart/images/detailed/d_20_01.gif

I am not sure if this is a problem with my shared hosting (clook.net) or I need to change something in the file. I have tried everything but still not working

Thanks for any help
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
  #39  
Old 07-10-2006, 10:11 AM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

Read back earlier in the thread where I explained how to use replace to remove the unneeded part of the server path.
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #40  
Old 07-10-2006, 12:02 PM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Hi I tried that but still not working do I tried to remove everything starting from http://www.urban...etc and I tried just removing the part I dont want. I think I just keep making a small mistake.

Thanks. Tahir
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


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 02:30 PM.

   

 
X-Cart forums © 2001-2018