dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Image Upload and Processing

  1. #1
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372

    Image Upload and Processing

    I need an application which allows me to upload images. I've already developed one which can take a file and put it on my server using PHP. However, I'd like to automatically process these images which are being uploaded, such as compress them to a 100px x 100px jpeg.

    Any idea how I'd do this?

    Thanks,
    Multi

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,637
    Have you looked at the "sticky" post at the top of this "PHP" forum about image uploads yet?
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372
    No, so I just took a look. This tells me everything I already know. What I need to do is compress images after uploading.

  4. #4
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,637
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  5. #5
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372
    WOW! It's a simple function? Did I overlook that??

    Thanks!

  6. #6
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,637
    You'll need a couple other GD functions, too, but I believe the manual page for that one lays it out pretty well.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  7. #7
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372
    Probably. I had no idea PHP had that capability. Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles