DaveinLondon
12-30-2004, 05:49 AM
I don't know if this is possibilty in javascript or PHP or maybe I need the server to run a program - but this is what I'd like to do:
When some one uploads a file to the server - it maybe about 125 kb
but as the image only needs to be about 120 x 120 px I only need the quality that you'd get in a file of about 5 kb . So can I squash the file size with js or PHP or something else that I can run automatically when the file is uploaded maybe from my PHP program ?
What would you recommend that I use ?
Thanks.
David.
When some one uploads a file to the server - it maybe about 125 kb
but as the image only needs to be about 120 x 120 px I only need the quality that you'd get in a file of about 5 kb . So can I squash the file size with js or PHP or something else that I can run automatically when the file is uploaded maybe from my PHP program ?
What would you recommend that I use ?
Thanks.
David.