| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Easy dynamic thumbnail generation | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||||
|
|||||||||
Quote:
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) |
|||||||||
#32
|
|||||||
|
|||||||
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] |
|||||||
#33
|
|||||||||
|
|||||||||
Just use the smarty replace function.
Code:
*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) |
|||||||||
#34
|
|||||||
|
|||||||
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 |
|||||||
#35
|
|||||||
|
|||||||
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:
Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS |
|||||||
#36
|
|||||||
|
|||||||
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] |
|||||||
#37
|
|||||||||
|
|||||||||
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) |
|||||||||
#38
|
|||||||
|
|||||||
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] |
|||||||
#39
|
|||||||||
|
|||||||||
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) |
|||||||||
#40
|
|||||||
|
|||||||
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] |
|||||||
|
|||
X-Cart forums © 2001-2020
|