|
Posted by Markus Ernst on 04/06/06 11:01
attenborough@gmail.com schrieb:
> Hi, am hoping that someone may be able to me. Im designing a small
> website using PHP and MySQL. I would like to allow my visitors to
> upload a photo via a form on it. Im worried that people will be trying
> to upload 1mb+ images, so i am looking for a php script that will
> resize that image down to a managable 50kb file (or there abouts) and
> also give me a small thumbnail to use. Presumably then the script would
> also delete the original 1mb+ photo from the server. Ive been searching
> through google for an answer, but with not a great deal of luck. Thanks
> in advance.
If you consider using a Java applet check out
http://www.radinks.com/upload/
I like this very much as it is very simple - drag and drop a file (or
many, even in folders) on the applet area and it will be uploaded via
FTP or HTTP. You can get the basic version for free; the plus version is
49$ and scales the images before upload, which will save you both
bandwith and PHP scripting. Also, the author provides quick and helpful
support.
The only downside I encountered so far is that it requires Java runtime
environment 1.4.1 - so if your users have erlier versions they will be
prompted to download and install this software first.
HTH
Markus
[Back to original message]
|