Thread: thumbnailer

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    1
    Rep Power
    0
    I am using a script that allows users to upload a image with a record to a database. I have also installed a thumbnailer http://www.go.dlr.de/fresh/linux/src...04.tar.gz.html which works fine given the commands through telnet. How can this be auto run when the user uploads to generate a thumbnail in addition to the image uploaded?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    15
    Use the system() command.

    In the script which handles the upload, call the system() command the way you would do it in telnet. But use the just uploaded file instead.

    ------------------
    Good luck,
    Bas

    ------------------
    E-mail me at: b.vandermeijden@pecoma.nl

IMN logo majestic logo threadwatch logo seochat tools logo