On Thursday 21 December 2006 11:28, Scott Haneda wrote: > >> What you should do, is grab the 50 images ahead of time, in one select, > >> and use some php to iterate them and display them. > > > > Second, your suggestion is not an option in my case, since the image and > > the thumbnails are not stored in the database. The database contain image > > id, image attributes (exposure++) and name of the image and thumbnail > > file. > > That's all the data you need, I am not saying to pull the image out of the > database, I am saying to pull the file path out of the database and put it > in your html img src tag. Its the difference of making one call to the > database, versus x, where x is as many thumbnails as you have, not to > mention, x also represents that many http calls to your server, and also, > that many times php must process that file.
If the image files are within the document path for the Apache web-server. But they are not. In order to display an image, a PHP script must be used (a php script can access files outside the document path). But now we are moving away from the config question I had about configurating the mysqld server. -- Jørn Dahl-Stamnes homepage: http://www.dahl-stamnes.net/dahls/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]