
andy7t
User
Oct 27, 2003, 5:41 AM
Post #1 of 2
(336 views)
|
Hello, I'm using a simple script at the moment like this: use CGI; open(WFD,">$write_file"); while ($bytes_read=read($filepath,$buff,2096)) { $size += $bytes_read; binmode WFD; print WFD $buff; } so that users can upload pictures to my site. However, i need them all to be in one size- 200X150. How would i do this. I would like it so that the image does not become distorted- so could this mean placing the picture around a white border if it does not fit. I'm making a site like Ebay- the pictures on that don't get distorted. Thanks, Andrew
|