Re: [PHP] Image Resizing
This one time, at band camp, Stephen Alistoun stephenalist...@gmail.com wrote: I want all the images to resize to 100px width but the height adjusts automatically. Two ways, GD or Imagick http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html http://www.phpro.org/tutorials/Imagick.html#4 Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing
i use imageMagick: ?php $image_path = ../images/myimage.jpg; //path to the image from my script $thumb_path = ../thumbnails/mymage.jpg;//path to where i want the thumbnail to be created $width = 100; //greatest allowed width for my thumbnails $height = 100; //greatest allowed height for my thumbnails //make the thumbnail //imageMagick will automatically adjust for aspect ratio with this command line //however, if you want to force a thumbnail to the preset dimensions, //put an exclamation point after $height //http://www.imagemagick.org/Magick++/Geometry.html $command_line = convert -geometry $width . x . $height $image_path $thumb_path; system($command_line, $return_var); if ($return_var == 1) { echo Thumbnail creation failed! :(; } else { echo Thumbnail created. :) a href='$thumb_path' target='_blank'View Thumbnail FFS/a; } ? if you run into problems, and assuming imageMagick was successfully installed: - make sure you have write permission for where you want the thumbnail to be created - try replacing convert with the full path to the convert app. e.g. $command_line = /usr/bin/convert -geometry etc; - run the script from the command line. ssh in to your script's directory and try typing this: php thumbscript.php you'll see verbose messages to help you pinpoint the problem. depending on your setup, you might have to put in the full path to php - if you're still stuck, try putting in this line: ?php ini_set(display_errors,1); information like this would have saved me hours of my life On Sun, Dec 21, 2008 at 3:54 AM, Kevin Waterson ke...@phpro.org wrote: This one time, at band camp, Stephen Alistoun stephenalist...@gmail.com wrote: I want all the images to resize to 100px width but the height adjusts automatically. Two ways, GD or Imagick http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html http://www.phpro.org/tutorials/Imagick.html#4 Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Crunchmutt Studios Latest News Headlines: http://www.rssvideonews.com http://www.imagepoop.com http://www.crunchmutt.com http://www.deadjoe.com http://www.dailymedication.com http://www.extremesportclips.com http://www.coolanimalclips.com http://www.robotclips.com http://www.newsfinger.com http://www.postyourimage.com http://www.nakedalarmclock.com
Re: [PHP] Image Resizing
At 12:38 PM -0800 12/20/08, Stephen Alistoun wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images in the following sizes: (1) 200px width and 350px height (2) 125px width and 220px height (3) 166px width and 455px height I want all the images to resize to 100px width but the height adjusts automatically. Regards, Stephen Stephen: Here's the code. http://webbytedd.com/b/thumb/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing
nice post Tedd and useful web site :) -Gary tedd tedd.sperl...@gmail.com wrote in message news:p06240802c573f5a71...@[192.168.1.101]... At 12:38 PM -0800 12/20/08, Stephen Alistoun wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images in the following sizes: (1) 200px width and 350px height (2) 125px width and 220px height (3) 166px width and 455px height I want all the images to resize to 100px width but the height adjusts automatically. Regards, Stephen Stephen: Here's the code. http://webbytedd.com/b/thumb/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing
With the built in functions (GD), you can read up on this function: http://is.php.net/manual/en/function.imagecopyresized.php If you have Imagick installed, you can read up on this: http://is.php.net/manual/en/function.imagick-thumbnailimage.php On Sat, Dec 20, 2008 at 8:38 PM, Stephen Alistoun stephenalist...@gmail.com wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images in the following sizes: (1) 200px width and 350px height (2) 125px width and 220px height (3) 166px width and 455px height I want all the images to resize to 100px width but the height adjusts automatically. Regards, Stephen -- View this message in context: http://www.nabble.com/Image-Resizing-tp21108753p21108753.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing
On Sat, 2008-12-20 at 20:59 +, Ólafur Waage wrote: With the built in functions (GD), you can read up on this function: http://is.php.net/manual/en/function.imagecopyresized.php If you have Imagick installed, you can read up on this: http://is.php.net/manual/en/function.imagick-thumbnailimage.php On Sat, Dec 20, 2008 at 8:38 PM, Stephen Alistoun stephenalist...@gmail.com wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images in the following sizes: (1) 200px width and 350px height (2) 125px width and 220px height (3) 166px width and 455px height I want all the images to resize to 100px width but the height adjusts automatically. Regards, Stephen -- View this message in context: http://www.nabble.com/Image-Resizing-tp21108753p21108753.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php RTFM http://uk.php.net/manual/en/function.imagecopyresampled.php Ash www.ashleysheridan.co.uk
Re: [PHP] Image resizing problems
on http://nl2.php.net/manual/en/function.imagecopyresampled.php is an example how to use it when you are resizing images, I think you are putting some numbers on the wrong place On 3/31/06, John Nichel [EMAIL PROTECTED] wrote: I'm pulling my hair out with this gd resizing of an image, and can't figure out where it's screwing up. I've been trying to batch process about 500 images to resize them to a standard size, and for some reason, instead of resizing the image, it's just taking a corner of the original image... $orgimg = imagecreatefromjpeg ( $image_data['image_path'] ); imagecopyresampled ( $im, $orgimg, 0, 0, 0, 0, 250, 250, 600, 600 ); imagejpeg ( $im, $path . $file_name . .temp ); The original images are 600x600, and I'm trying to shrink it down to 250x250, but when I run it thru this it just gives me a 250x250 image which looks to be cropped from the original image (not resized, just the top left corner). This is too much thinking for a Friday. What am I missing??? -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image resizing problems [SOLVED]
John Nichel wrote: I'm pulling my hair out with this gd resizing of an image, and can't figure out where it's screwing up. I've been trying to batch process about 500 images to resize them to a standard size, and for some reason, instead of resizing the image, it's just taking a corner of the original image... $orgimg = imagecreatefromjpeg ( $image_data['image_path'] ); imagecopyresampled ( $im, $orgimg, 0, 0, 0, 0, 250, 250, 600, 600 ); imagejpeg ( $im, $path . $file_name . .temp ); The original images are 600x600, and I'm trying to shrink it down to 250x250, but when I run it thru this it just gives me a 250x250 image which looks to be cropped from the original image (not resized, just the top left corner). This is too much thinking for a Friday. What am I missing??? *DOH* Nevermind. Friday. To close to beer-thirty. It's working fine. I was looking at the images on our staging server, but running the script on our development server. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image resizing...
Sonia wrote: Hi All I've been working on finishing a project SGML2IMAGE and I am sort of having trouble with resizing of images. I am trying to just use the GD library so when I distro the package it will not need any other things installed to be used. Now I am using... imagecreatetruecolor (); imagecreatefrom___ (); imagecopyresampled (); image___ (); But the thumbnails look blurry for any image less than 50% of the original image created by the PHP SGML parser. So my question seeing I am not very good with the GD library. Am I using the best functions to do the resize or should I be using some other image function(s) that may give better results! To give you a idea of what I am doing see the demo running on my note book http://24.218.192.217/capture.php Thanks sonia Here is the method I use: $destimg=imagecreatetruecolor($aspect_w, $aspect_h); $srcimg=imagecreatefromjpeg($path.$files[$i]); imageantialias($destimg,true); imagecopyresized($destimg,$srcimg,0,0,0,0,$aspect_w,$aspect_h,ImageSX($srcimg),ImageSY($srcimg)); imagejpeg($destimg,$dest_dir.$image_name); imageantialias() might do some good in your case. HTH! Matt Darby -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image resizing...
Sonia wrote: Hi All I've been working on finishing a project SGML2IMAGE and I am sort of having trouble with resizing of images. I am trying to just use the GD library so when I distro the package it will not need any other things installed to be used. Now I am using... imagecreatetruecolor (); imagecreatefrom___ (); imagecopyresampled (); image___ (); But the thumbnails look blurry for any image less than 50% of the original image created by the PHP SGML parser. So my question seeing I am not very good with the GD library. Am I using the best functions to do the resize or should I be using some other image function(s) that may give better results! To give you a idea of what I am doing see the demo running on my note book http://24.218.192.217/capture.php Thanks sonia Actually, imagecopyresized() would be what you're looking for; imageantialias() can't hurt either ;) Matt Darby -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing with GD
On Thu, 2004-01-08 at 00:20, Peter Vertes wrote: Hello List, I've tried googling but couldn't come up with anything useful so I'm turning to the list. Could anyone send me a link to a tutorial on how to resize images with GD ? Thanks in advance... FYI: Personally, I've found passing stuff off to Image Magick works better. -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC GnuPG: http://gnupg.org http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC Linux Registered User #339825 at http://counter.li.org signature.asc Description: This is a digitally signed message part
RE: [PHP] Image Resizing with GD
There are some really good user notes in the function description for imagecopyresized and imagecopymerge: http://us3.php.net/manual/en/function.imagecopymerge.php http://us3.php.net/manual/en/function.imagecopyresized.php You might also want to do some searching with google for thumbnail functions since most applications of GD image resizing is for creating thumbnails. -M _ From: Peter Vertes [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 12:21 AM To: [EMAIL PROTECTED] Subject: [PHP] Image Resizing with GD Hello List, I've tried googling but couldn't come up with anything useful so I'm turning to the list. Could anyone send me a link to a tutorial on how to resize images with GD ? Thanks in advance... -Pete -- perl -e 'print pack(H*, 70766572746573406E79632E72722E636F6D0A)'
Re: [PHP] Image Resizing ... lets try this again.
What I found works very well for this is the function: getimagesize(); $image_file = something.jpg; $size = getimagesize($image_file); //$size[0] = height and $size[1] = width (double check on php.net) //Then just divide them... $width = $size[1]/2; $height=$size[0]/2; DISPLAY IMAHE height=$height width=$width This way it will keep the original deminsions of the photo, just cut it in half, or however much you want to cut it down. Of course this approach makes viewing eaiser, but does not really cut down on the download time of the JPG, so if that is your primary concern, then another approach may be in order? HTH -Brad I sent this email out earlier this morning and got no response. It was quite early so I thought I would send it again now that more people are hopefully at work :-) I have been trying to figure out the best way to resize photo quality images to thumbnail size and have them come out looking good. I have read about the function http://www.php.net/manual/en/function.imagecreatetruecolor.php http://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor() and it looks like it may do this. However I do not have GD 2 installed which is required for this function to work. In the process of trying to figure out how to install GD v2 I came across the following page. http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php On this page is says; Since PHP 4.3 there is a bundeled version of the GD lib. This bundeled version has some additional features like alpha blending and should be used in preference to the external library since it's codebase is better maintained and more stable. I thought the most recent version of php was 4.2.2? Anyway if there is a better way to resize images to create high quality thumbnails I would love to hear about it. I am on a redhat 7.3 server and not very familiar with linux. I would prefer not to have to take the time involved in learning how to install new packages right now, but realize this may be unavoidable. Thanks in advance for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing ... lets try this again.
If you can use exec you may use convert, or also imlib module provides very good results. Fifield, Mike wrote: I sent this email out earlier this morning and got no response. It was quite early so I thought I would send it again now that more people are hopefully at work :-) I have been trying to figure out the best way to resize photo quality images to thumbnail size and have them come out looking good. I have read about the function http://www.php.net/manual/en/function.imagecreatetruecolor.php http://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor() and it looks like it may do this. However I do not have GD 2 installed which is required for this function to work. In the process of trying to figure out how to install GD v2 I came across the following page. http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php On this page is says; Since PHP 4.3 there is a bundeled version of the GD lib. This bundeled version has some additional features like alpha blending and should be used in preference to the external library since it's codebase is better maintained and more stable. I thought the most recent version of php was 4.2.2? Anyway if there is a better way to resize images to create high quality thumbnails I would love to hear about it. I am on a redhat 7.3 server and not very familiar with linux. I would prefer not to have to take the time involved in learning how to install new packages right now, but realize this may be unavoidable. Thanks in advance for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Image Resizing ... lets try this again.
search the archive - i posted a gd1 solution about 2 or 3 weeks ago... dave -Original Message- From: Fifield, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 7:54 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Resizing ... lets try this again. I sent this email out earlier this morning and got no response. It was quite early so I thought I would send it again now that more people are hopefully at work :-) I have been trying to figure out the best way to resize photo quality images to thumbnail size and have them come out looking good. I have read about the function http://www.php.net/manual/en/function.imagecreatetruecolor.php http://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor() and it looks like it may do this. However I do not have GD 2 installed which is required for this function to work. In the process of trying to figure out how to install GD v2 I came across the following page. http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php http://www.php.net/manual/en/ref.image.php On this page is says; Since PHP 4.3 there is a bundeled version of the GD lib. This bundeled version has some additional features like alpha blending and should be used in preference to the external library since it's codebase is better maintained and more stable. I thought the most recent version of php was 4.2.2? Anyway if there is a better way to resize images to create high quality thumbnails I would love to hear about it. I am on a redhat 7.3 server and not very familiar with linux. I would prefer not to have to take the time involved in learning how to install new packages right now, but realize this may be unavoidable. Thanks in advance for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image Resizing in PHP
On 29 Mar 2001 16:33:48 -0800 AD in php.general, YoBro said: Hello, Is it possible to have PHP resize an image on the server? Example. If I upload a JPG file at about 40KB at 600x480 Resolution, but I only want to display it as a small thumbnail. But if clicking the thumbnail it then opens in a new window the full size version. I have seen a auction site that I use, which is ASP and when I upload an image to sell, i notice that it gives the thumbnail and the full size images. How is this possible? Any links to sites on this subject would excellent. GDLib does this sort of thing, though I haven't tried it -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ For this reason I kneel before the Father... I pray that out of his glorious riches he may strengthen you with power through his Spirit in your inner being, so that Christ may dwell in your hearts through faith. -- Ephesians 3:16-17 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010329 === Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Image Resizing in PHP
On Friday 30 March 2001 02:46, you wrote: Perhaps i'm not following what you're trying to do, but why not manipulate the height/width img tag attributes to make it look like a thumbnail, but then when displaying it for real, take them out? there Well, people sometimes get upset when it takes five minutes to load a page with, say, only 30 tiny thumbnails... -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "World domination. Fast." (Linus Torvalds about Linux) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Image Resizing in PHP
On Fri, Mar 30, 2001 at 11:49:45AM +0200, Christian Reiniger wrote: Well, people sometimes get upset when it takes five minutes to load a page with, say, only 30 tiny thumbnails... Image-Resizing withing php is explained pretty well at the php.net-Site. Yust take a look at the manual for these functions: imagecopyresized() imagejpeg() imagepng() and such. -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet | PGP signature
Re: [PHP] Image Resizing in PHP
Perhaps i'm not following what you're trying to do, but why not manipulate the height/width img tag attributes to make it look like a thumbnail, but then when displaying it for real, take them out? there definitely have been posts about this (as usual, check the archives) and i'm sure a little searching through google will turn up some good stuff...try the php sites too (phpbuilder, etc) -jack YoBro wrote: Hello, Is it possible to have PHP resize an image on the server? Example. If I upload a JPG file at about 40KB at 600x480 Resolution, but I only want to display it as a small thumbnail. But if clicking the thumbnail it then opens in a new window the full size version. I have seen a auction site that I use, which is ASP and when I upload an image to sell, i notice that it gives the thumbnail and the full size images. How is this possible? Any links to sites on this subject would excellent. -- Regards, YoBro - DO NOT REPLY TO THIS VIA EMAIL PLEASE USE THE NEWSGROUP All emails sent to this address are automatically deleted. This is to avoid SPAM! - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Image Resizing in PHP
Perhaps i'm not following what you're trying to do, but why not manipulate the height/width img tag attributes to make it look like a thumbnail, but then when displaying it for real, take them out? Because then you have to download the entire large image. Large images are bigger. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Image Resizing in PHP
ok, so then read the image in using php's image functions, and use imagecopyresized...you'll even find a post about thumbnails... http://www.php.net/manual/en/function.imagecopyresized.php -jack Jason Murray wrote: Perhaps i'm not following what you're trying to do, but why not manipulate the height/width img tag attributes to make it look like a thumbnail, but then when displaying it for real, take them out? Because then you have to download the entire large image. Large images are bigger. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Image Resizing in PHP
Using a GD that has GIF support, you can do this ?php // we expect $scale and $image to be defined, having been passed to us via // query string, e.g. http://www.foo.com/img.php3?image=test.gifscale=4 // create an image object from the source file $srcImg = imagecreatefromgif($DOCUMENT_ROOT . $image); // create a (blank) smaller image object $srcSize = getimagesize($DOCUMENT_ROOT . $image); $dstImg = imagecreate($srcSize[0]/$scale, $srcSize[1]/$scale); // copy and resize from the source image object to the smaller blank one imagecopyresized($dstImg, $srcImg, 0, 0, 0, 0, $srcSize[0]/$scale, $srcSize[1]/$scale, $srcSize[0], $srcSize[1]); // send the smaller image object to the browser header( "Content-Type: image/gif"); imagegif($dstImg); // clean up imagedestroy($scrImg); imagedestroy($dstImg); ? -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 7:49 PM To: 'Jack Dempsey'; YoBro Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Image Resizing in PHP Perhaps i'm not following what you're trying to do, but why not manipulate the height/width img tag attributes to make it look like a thumbnail, but then when displaying it for real, take them out? Because then you have to download the entire large image. Large images are bigger. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Image Resizing in PHP
Where can I find a GD with GIF support (the new one only supports JPEG and PNG) Regards, Pablo ""YoBro"" [EMAIL PROTECTED] escribió en el mensaje 9a0k9b$hdp$[EMAIL PROTECTED]">news:9a0k9b$hdp$[EMAIL PROTECTED]... Hello, Is it possible to have PHP resize an image on the server? Example. If I upload a JPG file at about 40KB at 600x480 Resolution, but I only want to display it as a small thumbnail. But if clicking the thumbnail it then opens in a new window the full size version. I have seen a auction site that I use, which is ASP and when I upload an image to sell, i notice that it gives the thumbnail and the full size images. How is this possible? Any links to sites on this subject would excellent. -- Regards, YoBro - DO NOT REPLY TO THIS VIA EMAIL PLEASE USE THE NEWSGROUP All emails sent to this address are automatically deleted. This is to avoid SPAM! - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]