| 5:03 pm on Sep 28, 2006 (gmt 0)|
Are you creating the actual thumbnail images on the fly? If so, yes, that's a waste of resources! Pre-generate them and simply include them normally.
| 5:20 pm on Sep 28, 2006 (gmt 0)|
You mentioned gallery ... if you are using an image upload process for your gallery you could generate the thumbnails during the image upload process once at that point rather than generate them on every page view.
| 5:29 pm on Sep 28, 2006 (gmt 0)|
if you already have set it up like this just add some caching functionality to save / reuse the file on disk to it
| 6:32 pm on Sep 28, 2006 (gmt 0)|
echo 'Automatic thumbnail generation up image upload is an excellent idea. I\'ll have to keep that in mind.';
But basically, all I'm doing is having these images being created on the fly everytime someone new comes around. It's one of these deals:
This format of thumbnail generation is fairly common, I believe.
| 6:34 pm on Sep 28, 2006 (gmt 0)|
The way the thumbnails are generated is fine ... But you should save the generated thumbnail. Then, for each request ... first see if the image exists. If it does, send that. If not, create a resized and send that.
You'll need to use:
| 6:59 pm on Sep 28, 2006 (gmt 0)|
thanks Dr. Doc, I'll do that. Sounds like sound advice.