resize image on server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cssExp
    New Member
    • Jun 2007
    • 59

    resize image on server

    hi,

    Suppose i have few images all 600x400 or above in folder "/images" I'd like to resize one of them to 180x180 or somewhat, and save as a thumbnail preview of that huge image.

    lets say i have winter.jpg, sky.png, test.gif - I want to know how to resize (.jpg, gif and png). Lets say i want to resize the winter.jpg to 180x180 and save as winterthumb.jpg

    is there a good way on going about doing this? thanks :)
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, cssExp.

    Have a look at GD functions.

    Comment

    • kovik
      Recognized Expert Top Contributor
      • Jun 2007
      • 1044

      #3
      readdir() may also be helpful for processing all of the files.

      Comment

      • cssExp
        New Member
        • Jun 2007
        • 59

        #4
        i'll try your suggestions :)

        Comment

        • cssExp
          New Member
          • Jun 2007
          • 59

          #5
          please look at this, http://www.imagemagick.org/MagickStu...ickStudio.cgii

          where can i get a script, to resize it to width and height i want + keep exact quality.?

          Comment

          • cssExp
            New Member
            • Jun 2007
            • 59

            #6
            NOTE: this issue is solved now, i figured out a way by myself, thanks for all your help guys :)

            Comment

            Working...