How to load remote image then resize it then crop it then save it on a dir

Discussion in 'PHP' started by free-designer, Jul 15, 2010.

  1. #1
    Hey experts,
    I think the title explain what i need.
    I need with php, a class or anything to do the following:
    1-Read image from a remote url.
    2-Resize it to make it fit with the crop.
    3-Crop the image.
    4-Save the image on a specified dir.

    But please i don't want this done using the header(); function

    Thanks for anyhelp.
     
    free-designer, Jul 15, 2010 IP
  2. lukeg32

    lukeg32 Peon

    Messages:
    645
    Likes Received:
    19
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Looking at the amount of work you are asking for - without any sample code / your own attempts, you are probably better off asking in the requests forum and paying for this.... (its not overly hard to do... but i dont have the time to help you im afraid)
     
    lukeg32, Jul 16, 2010 IP
  3. free-designer

    free-designer Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i didn't want you to do the code for me, i added the question on expert-exchange.com.
    and some answerd with just 4 functions with php to do the work. and i used them and it worked.

    It simple, but thanks anyway :)
     
    free-designer, Jul 16, 2010 IP
  4. tommykent1210

    tommykent1210 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have a script that can do this on my site :)
    dev-network.com/showthread.php?tid=79

    I could easily modify it to suit your needs :)
     
    tommykent1210, Jul 17, 2010 IP
  5. free-designer

    free-designer Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    @tommykent1210: Thanks so mush for your help, but actually i solved my thing with a php class.
    But thanks again :)
     
    free-designer, Jul 17, 2010 IP
  6. tommykent1210

    tommykent1210 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ok sure thing :)
     
    tommykent1210, Jul 17, 2010 IP