| ||||||||||
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 |
#11
|
|||||||||
|
|||||||||
Instead of displaying all the detailed images at once, it displays the first image and a side bar of thumbnails. When you mouseover the thumbnails the main image changes to display the large version of that thumbnail.
For an example, see the product pages at my live site: Alltribes.com. It uses a different script, but the end result is essentialy the same.
__________________
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) |
|||||||||
#12
|
|||||||
|
|||||||
Great mod, i realy like it! hope you or somebody can help me with the
following. i'm getting the error: Warning: imagejpeg(): Unable to open '../../skin1/images/cache/b1f12a28db86daf25cc16ec2fd282dac.jpg' for writing in /Smarty-2.6.9/plugins/function.thumb.php on line 329 path is correct it shows the big image but not the thumbnail. maybe it's in the wrong directory but it's the third one i put it in all giving the same error message. all directory's have chmod 777 also gave the image 777 without luck thanks Eddie i'm using X-cart 4.0.18 |
|||||||
#13
|
|||||||||
|
|||||||||
Sounds like 1 of 2 problems.
1. The skin1/images/cache directory doesn't exist 2. The skin1/images/cache directory doesn't have write permissions. Probably #2. I forget to do that all the time.
__________________
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) |
|||||||||
#14
|
|||||||
|
|||||||
Thanks for the quick reply.
the directory exists and they all have write permissions i do get the big image in featured products so i know the path and such are ok. cheers Eddie |
|||||||
#15
|
|||||||||
|
|||||||||
Have you edited the function.thumb.php to point the cache directory somewhere else? If not you need to create the images/cache under your www root. If that doesn't work try it in your store root (i.e. store/images/cache/)
__________________
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) |
|||||||||
#16
|
|||||||
|
|||||||
Got it! i had to take your second mod because i had to
replace all the image paths like this Quote:
In your last mod with preloader i couldn,t get the mouseoverlink to work wit the Quote:
the images and cache directory's are placed under store but it's working, thanks very much, i like it. cheers eddie |
|||||||
#17
|
|||||||||
|
|||||||||
Hmm, I'll have to look into the preloader on 4.0.18. I'm sure it's just something with the smarty syntax. I need a working version for 4.0.18 anyway to see how fast it is compared to my current mod.
__________________
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) |
|||||||||
#18
|
|||||||||
|
|||||||||
Looks like a nice mod. Anyone has this online on their site and willing to post a link?
Really want to see the result
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#19
|
|||||||
|
|||||||
Hey alltribes exactly what I was looking for. I will try this out on the weekend and if i get it running I will let everyone see.
Thanks. Tahir
__________________
Tahir X-Cart Gold v4.4.4 [win] |
|||||||
#20
|
|||||||||
|
|||||||||
Ok, I think I figured out the problem /w 4.0.18. Instead of:
Quote:
Use: Quote:
That got it working for me, just a simple change in syntax. You should be able to use the preloading template now.
__________________
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) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|