Click to See Complete Forum and Search --> : Images On The Fly


The Little Guy
10-17-2006, 02:23 PM
I know someone who is making a script called "ImgUpload 3.0" I gave him an Idea to make it so that the thumbnail images are created on the fly.

Here is his reply:
My only concern would be memory effeciency. A call to the GD library each time you visit the directory, for each image, might impact the overall server negatively. Although, if there was a way to check for a file's data existance in cache, it could work(same thing I had planned for bandwidth monitering).

What would the Pros, and the Cons of using this method be? As for an image hosting service would this be a suggested way to go or would you store the thumbnails on the server?

The Little Guy
10-24-2006, 03:34 PM
Anyone?

so_is_this
10-24-2006, 03:42 PM
Just my opinion, but I think it would be better, from a performance standpoint, to create the thumbnails when the image is uploaded and store the thumbnail on the server. If you don't, not only will you degrade server performance but you will also slow the download speed of your images.