|  | Posted by randyaa on 04/28/07 04:20 
why not just generate the thumbnails for the current directory, thenprovide navigational links to the sub-directories.  I just started on
 a photo album system that works in that exact way.  http://code.google.com/p/zippyphotos/.
 Check it out maybe we can work out some requirements together
 
 On Apr 28, 12:00 am, sandy <relativ...@isrelative.com> wrote:
 > I use recursive readdir as the engine for
 > a numerous file processing routines,  including
 > generating thumbnails, using  getimagesize
 > imagecreatetruecolor and imagejpeg, etc.
 > where each resize operation involves instantiating
 > a new resizer class instance.
 >
 > ....but my (shared host) website is large, so I
 > run past max_execution_time if I try to make
 > all thumbnails at once, from the top of
 > my document_root. My virtual file system
 > includes a php.ini which I can edit, but
 > bumping max_execution-time (although the file saves)
 > seems to have no effect, and I do not have
 > permission to run /usr/sbin/apachectl restart
 >
 > Perhaps the php.ini change
 > will start to work the next time the server reboots.
 >
 > In the mean time, is there some way to fork a new process,
 > for instantiating the resizer?
 >
 > I could try to use exec to run command line
 > php.  But there must be a more elegant way
 > to do this. I'd use perl and imagemagick,
 > but my shared host server doesn't have the
 > right perl libs installed, and that's another
 > can of worms.
  Navigation: [Reply to this message] |