Image Upload Snipped 2
I need a secure&simple image-upload-snipped:
-user can upload one image (jpg/png)
-simple ajax-progressbar (shows the user how long it will take, e.g. ~20% uploaded) simple bar / optional text “20kb of 200kb”
-max. size of images: 500kb
-image should be optimized in size (e.g. http://www.ebrueggeman.com/article_php_image_optimization.php)
-image should resized to < 500px
if width>500px then width=500px, height=relativ
if height>500px then height=500px, width=relativ
-want to upload an copy as an thumbnail
-thumbnail should resized to < 200px
if width>200px then width=200px, height=relativ
if height>200px then height200px, width=relativ
-image should be uploaded to /images/
thumbs should be uploaded to /images/thumbs
want the script very simple, ~1, 2 files



