Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    147
    Thanks
    31
    Thanked 2 Times in 2 Posts

    you advice about uploading and resizing images?

    Hi

    I want to write a little script that uploads an image and resizes it.

    But I want to write it myself without using someone else's code.

    so here here is my question:

    What php function do you recommend for resizing the image that I upload

    eg upload a 400px x 400px 1mb jpg and convert it to a 100px x 100px 30 kb jpg.

    or do you have a URL that explains more about this concept?

    I would also like to do it in standard php5?

    is this posible?

    thanks for the help

    Thanks

    A
    Last edited by andrew1234; 09-06-2009 at 07:09 PM.

  • #2
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    Looking for a script on Google, would probably be your best bet, then using that to create your own. You need to start somewhere.

    I'd also recommend looking into the GD Image Library, see: http://www.boutell.com/gd/

    About.com and various other sites usually have articles about this kind of thing, it just takes a little research.


  •  

    Posting Permissions

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