View Single Post
  #5  
Old 09-23-2006, 06:39 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default Re: Need help configuring "Best Sellers" module to call thumbnail images via filesystem!

Quote:
Originally Posted by mcitde
If you choose to store images at filesystem there are no images in your databease anymore. Only links to them. All the image.php does is call this link. -->> image.php?type=T&id=17036 (call link to the image with id 17036 from table xcart_images_T) So actually it should not take any longer to open the images.

The images are not store in the database. But I am absolutely certain that using "image.php" file to retrieve these thumbnails will take SIGNIFICANTLY longer than going directly via the filesystem path.

1) Try this. Go to my front page of my webstore. http://www.mvpautoparts.com/home.php
As you can see on the left side where the "Best Sellers" module is, it takes about 4 seconds to completely call up the 10 thumbnail images. You can even see it loading up one image after another. (viewing the image property link will show that they are being reference via the "image.php" file)

2) And now, go to this link. http://www.mvpautoparts.com/home.php?cat=389
Notice how fast it loadup all the product thumbnail images? There are a total of almost 50 images. And it bring them all up almost instantaneously....5 times as many images as the "Best Sellers", but it only take a fractional amount of time. (viewing the image property link here will show that they are being reference directly via the filesytem path)

-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote