PHP image upload and display

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

    PHP image upload and display

    Hi,

    I am a PHP Developer.can any one help me on image upload and
    display of that image.what i want is uploading an image to a
    directory ,displaying of that image as a thumbnail.when i click on
    that image the image should be diplayed in another page.

    I wrote code for image uploading and as well as display code.but i
    failed in image resizing when click on that :(

    can anyone come up with code for this ,
    asap.Otherwise suggest me a way how to get this.

    Thanks.

  • chotiwallah

    #2
    Re: PHP image upload and display


    Faree wrote:[color=blue]
    > Hi,
    >
    > I am a PHP Developer.can any one help me on image upload and
    > display of that image.what i want is uploading an image to a
    > directory ,displaying of that image as a thumbnail.when i click on
    > that image the image should be diplayed in another page.
    >
    > I wrote code for image uploading and as well as display code.but i
    > failed in image resizing when click on that :(
    >
    > can anyone come up with code for this ,
    > asap.Otherwise suggest me a way how to get this.
    >
    > Thanks.[/color]


    have a look at imagecopyresamp led() and generate and store a thumb when
    uploading the original

    micha

    Comment

    • Erwin Moller

      #3
      Re: PHP image upload and display

      Faree wrote:
      [color=blue]
      > Hi,
      >
      > I am a PHP Developer.can any one help me on image upload and
      > display of that image.what i want is uploading an image to a
      > directory ,displaying of that image as a thumbnail.when i click on
      > that image the image should be diplayed in another page.
      >
      > I wrote code for image uploading and as well as display code.but i
      > failed in image resizing when click on that :(
      >
      > can anyone come up with code for this ,
      > asap.Otherwise suggest me a way how to get this.
      >
      > Thanks.[/color]

      Hi,

      So the upload part works?
      Good.
      Resizing is easier. :-)

      Resampling is better.

      Have a look at:


      It contains examples too.

      I suggest you store the original and the tumbnail both on your filesystem.

      Good luck.

      Regards,
      Erwin Moller

      Comment

      Working...