...

View Full Version : Uploading files



rowantrimmer
03-04-2010, 05:38 PM
Hello,

I am currently using the php function move_uploaded_file for people to upload images to my cookery web site. The issue I have is that people tend to upload the pics straight from their camera so the byte size is huge.

Is there any script around that would reduce the byte size of an image just before uploading od should I force a byte file size and make the user reduce the file size in an editing program?

Or would you have any better solutions which would be greatly appreciated!

Kind Regards

Rowan

Fumigator
03-04-2010, 06:07 PM
Of course there's no way for you to reduce the image before it's uploaded.

I went through this pain with a website of mine and after a couple of years hearing complaints that 2 meg is too restrictive, I finally relented and increased the limit to 8 meg. I even had simple instructions how to resize an entire directory of images using a freeware program but people are too lazy. They'd rather sit on a LOADING page for an hour while their massive 5 meg files upload I guess. It was frustrating... but the complaints disappeared after I increased the upload limit. Go figure...

rowantrimmer
03-04-2010, 06:12 PM
thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum