By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

resize image on server

P: 59
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 :)
Aug 4 '07 #1
Share this Question
Share on Google+
5 Replies


pbmods
Expert 5K+
P: 5,821
Heya, cssExp.

Have a look at GD functions.
Aug 4 '07 #2

kovik
Expert 100+
P: 1,044
readdir() may also be helpful for processing all of the files.
Aug 4 '07 #3

P: 59
i'll try your suggestions :)
Aug 4 '07 #4

P: 59
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.?
Aug 5 '07 #5

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

Post your reply

Sign in to post your reply or Sign up for a free account.