#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    145
    Rep Power
    15
    I finally figured out how to upload an image through an HTML form using PHP. I have the image in a directory.

    Now, the hard part - how do I take that imae ($photo) and resize it and save it as two different images - a thumbnail that is 75x50 and a full image that is 150x100.

    Any help would be appreciated. The images are JPEG's if that helps.

    Thanks

    mW
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    6
    Rep Power
    0
    Load imageMagick on your system, then call the convert application (with parameters) from PHP.

    Works well for single images or whole directories
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    145
    Rep Power
    15
    I only want to use PHP and I do not want to install any other software that can slow down the process. Thanks for the info though...

Similar Threads

  1. Problem with image resizing
    By willms_jay in forum PHP Development
    Replies: 0
    Last Post: February 12th, 2004, 01:23 AM
  2. resizing a image HELP!
    By lori l in forum Photoshop Help
    Replies: 8
    Last Post: December 11th, 2003, 02:35 PM
  3. Browser (cache?) problem after image upload
    By mugane in forum PHP Development
    Replies: 7
    Last Post: November 4th, 2003, 12:39 PM
  4. resizing an image stored in mysql BLOB
    By harrylmh in forum PHP Development
    Replies: 1
    Last Post: October 30th, 2003, 08:50 AM
  5. Resizing user uploaded images
    By Ian Griffiths in forum Software Design
    Replies: 0
    Last Post: September 17th, 2003, 03:53 PM

IMN logo majestic logo threadwatch logo seochat tools logo