Hello,
I have been setting up a photo upload feature for a website which allows members to upload photos.
I am also after some advice on how large a file should be? I thought about allowing members to upload a photo up to 100,000 in size and allowing a maximum of 10 photos each but if I could expand this then it would be great. I just cant seem to find out how! obviously if I had a 1000 members for example each having 10 x 100,000 then thats a huge amount of space.
Is there anyway to compres the files that members upload. For example ...I see facebook which is well known for their photo uploads somehow compress the file and allow massive amounts of files on their servers.
Any advice would be great.
Thanks
I just cant seem to find out how! obviously if I had a 1000 members for example each having 10 x 100,000 then thats a huge amount of space.
You'd never get 1000x10x100,000. You'd get a much lower number realistically.
What you'd have to ask is weather each member is worth that much space... yes.
Is there anyway to compres the files that members upload.
You could first convert the uploaded images to a compressed format. This usually means JPG - I would guess. You can also optimize the JPG server side, make sure you save lower quality if the image is very high quality.
Then you could also gzip it, and save the Gzipped version. Not sure how Gzip would play with the existing image compression, but I think it should reduce the size. (you have to test that, since compressing twice can increase the size).
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
Offline 1,250 posts
since Sep 2005