imagecopyresampled() arguments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stijn Goris

    imagecopyresampled() arguments

    hi all,

    I have a quesion regarding the source and destination images in the
    imagecopyresamp le function (GD Library). It takes a source file as argument
    but can I define where the source file is placed. Or is this file already
    stored on the server? if so, is there a way I can define the destination
    where is is placed?

    How can I define the name and destination of the destination file?

    kind regards
    Stijn


  • RG

    #2
    Re: imagecopyresamp led() arguments

    copy() the temp file to a temp directory.
    RG

    "Stijn Goris" <mepisto@hotmai l.com> wrote in message
    news:3f5ef0c4$0 $13893$ba620e4c @reader0.news.s kynet.be...[color=blue]
    > hi all,
    >
    > I have a quesion regarding the source and destination images in the
    > imagecopyresamp le function (GD Library). It takes a source file as[/color]
    argument[color=blue]
    > but can I define where the source file is placed. Or is this file already
    > stored on the server? if so, is there a way I can define the destination
    > where is is placed?
    >
    > How can I define the name and destination of the destination file?
    >
    > kind regards
    > Stijn
    >
    >[/color]


    Comment

    • Stijn Goris

      #3
      Re: imagecopyresamp led() arguments

      So if I get it right I first have to copy the fie to the server (from client
      to server) with say move_uploaded_f ile() and then resize the file on the
      server with the imagecopyresamp le() function?

      regards

      "RG" <Me@NotTellingY a.com> wrote in message
      news:3f5efeef$0 $33798$65c69314 @mercury.nildra m.net...[color=blue]
      > copy() the temp file to a temp directory.
      > RG
      >
      > "Stijn Goris" <mepisto@hotmai l.com> wrote in message
      > news:3f5ef0c4$0 $13893$ba620e4c @reader0.news.s kynet.be...[color=green]
      > > hi all,
      > >
      > > I have a quesion regarding the source and destination images in the
      > > imagecopyresamp le function (GD Library). It takes a source file as[/color]
      > argument[color=green]
      > > but can I define where the source file is placed. Or is this file[/color][/color]
      already[color=blue][color=green]
      > > stored on the server? if so, is there a way I can define the destination
      > > where is is placed?
      > >
      > > How can I define the name and destination of the destination file?
      > >
      > > kind regards
      > > Stijn
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Randell D.

        #4
        Re: imagecopyresamp led() arguments


        "Stijn Goris" <mepisto@hotmai l.com> wrote in message
        news:3f5f09d1$0 $9566$ba620e4c@ reader1.news.sk ynet.be...[color=blue]
        > So if I get it right I first have to copy the fie to the server (from[/color]
        client[color=blue]
        > to server) with say move_uploaded_f ile() and then resize the file on the
        > server with the imagecopyresamp le() function?
        >
        > regards
        >
        > "RG" <Me@NotTellingY a.com> wrote in message
        > news:3f5efeef$0 $33798$65c69314 @mercury.nildra m.net...[color=green]
        > > copy() the temp file to a temp directory.
        > > RG
        > >
        > > "Stijn Goris" <mepisto@hotmai l.com> wrote in message
        > > news:3f5ef0c4$0 $13893$ba620e4c @reader0.news.s kynet.be...[color=darkred]
        > > > hi all,
        > > >
        > > > I have a quesion regarding the source and destination images in the
        > > > imagecopyresamp le function (GD Library). It takes a source file as[/color]
        > > argument[color=darkred]
        > > > but can I define where the source file is placed. Or is this file[/color][/color]
        > already[color=green][color=darkred]
        > > > stored on the server? if so, is there a way I can define the[/color][/color][/color]
        destination[color=blue][color=green][color=darkred]
        > > > where is is placed?
        > > >
        > > > How can I define the name and destination of the destination file?
        > > >
        > > > kind regards
        > > > Stijn
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]

        --
        A: Because it messes up the order in which people normally read text.
        Q: Why is top-posting such a bad thing?
        A: Top-posting.
        Q: What is the most annoying thing on usenet?

        PHP is a server-side language - You have to have the image on the server to
        manipulate it - PHP has no access to the filesystem on the client.


        Comment

        Working...