Google Answers Logo
View Question
 
Q: Automatic image resize on upload? ( No Answer,   2 Comments )
Question  
Subject: Automatic image resize on upload?
Category: Computers > Internet
Asked by: chazc-ga
List Price: $6.00
Posted: 29 Apr 2005 18:08 PDT
Expires: 29 Apr 2005 23:46 PDT
Question ID: 516024
Is there a tool that will automatically (in real time) resize an image
that visitors upload to my website?  Not just the dimensions, but the
file size.  It will greatly reduce the space taken up on my server and
also increase page download time.
Please include a list of tools and links.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Automatic image resize on upload?
From: kjello-ga on 29 Apr 2005 20:12 PDT
 
There are lots of programs out on the internet that can do this, but
the one you will want to use depends on where you web site is "hosted"
- and what kind of "web server" you have. A Web host is who you pay to
maintain and host your web site, on one of their "web servers."

Just like there are different systems on different computers, there
are different kinds of web servers. Lots of web servers run on
something called unix[1] or linux[2], a fairly technical, but also
greatly extensible and powerful Operating System. Some are also hosted
on a variant of Windows. Those two choices cover the majority of web
servers out there, and depending on your web server, the answer to
your question will vary.

Unix/Linux: PHP is a scripting language that will do the exact thing
you want. There are lots of scripts out there you can copy and paste
onto you web site to do this, but some of them will take a little know
how. Here [http://www.blazonry.com/scripting/upload-size.php] is a
nice looking tutorial as to how to set this script up to upload an
image and then resize it, complete with all the php and html code you
will need to put into your web page.

Windows: Microsoft windows servers can use php, but most of them use a
Microsoft alternative which does the same thing, called ASP [Active
Server Programming]. Again, there lots of scripts people have written
out there - but lots of people charge a hefty fee for them. Here
[http://www.mxmania.net/Applications/resize_script.htm] is a good
looking free script to do it for you.

Once you have these scripts you will need to ftp them onto you
website, and then follow the directions accompanying them to build the
web page that should let you and anyone else do the uploading and
resizing. Hope this helps!

[1]: ://www.google.com/search?hl=en&lr=&c2coff=1&client=safari&rls=en&oi=defmore&q=define:Unix
[2]: ://www.google.com/search?hl=en&lr=&c2coff=1&client=safari&rls=en&oi=defmore&q=define:Linux
Subject: Re: Automatic image resize on upload?
From: chazc-ga on 29 Apr 2005 23:46 PDT
 
Thanks a lot, that was very helpful

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy