SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot jammo's Avatar
    Join Date
    Dec 2003
    Location
    el paso tx
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    batch thumbnail script times out

    http://www.onlinetools.org/articles/...humbnails1.php
    that is the tutorial i took on how to do a batch thumbnailization in one directory.

    but it quits after about 30-something images.
    i have several folders with more than 30. but it wont process them all.

    i did a Google search for: php batch resize
    and: php batch thumbnail
    and didnt come up with much.

    anyone help?

  2. #2
    SitePoint Addict Quaint's Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Possibly because PHP has a (standard) 30-second timeout?

    Try this:
    http://nl3.php.net/set-time-limit

    Try setting your time limit to something over 30 seconds...


    Just guessing, but works perhaps?

    Good luck!

  3. #3
    SitePoint Zealot jammo's Avatar
    Join Date
    Dec 2003
    Location
    el paso tx
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Quaint
    Just guessing, but works perhaps?
    Good luck!
    thanks.

    it worked without a problem.
    now my thumbnailer complates the entire folder.

    thank you


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •