Hi, zentara wrote on 24.07.2005:
>On Sun, 24 Jul 2005 11:22:18 +0200, [EMAIL PROTECTED] (Jan Eden) >wrote: > >>Hi, >> >>I thought about using Image::Magick to create thumbnails for image >>galleries (either 10 or 5 thumbnails per page) on the fly and tested >>the following: ... >>Unfortunately, this is unacceptably slow. I know that ImageMagick is >>quite ressource-intensive - but is there a way to significantly >>speed up the automatic generation of thumbnails? > >I think you ought to generate them once, and store them in some >sub-dir. You could setup a way of testing if the thumbnail exists, if >it does link to it, if not generate it, then link to it. That way it >will only be slow the "first time". The idea is to save disk space, as there are quite a lot of pictures to be organized in the galleries. My current setup works similar to what you proposed, except that I create thumbnails for each new gallery at once (on my local server, prior to uploading). With your solution, the script would need write access for the thumbnail directory actual webserver which I would like to avoid. But I will think about a possible solution in the light of your recommendation again. Many thanks, Jan -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>