CodeKing
Sep 16 2006, 11:42 AM
I'm creating a site somewhat like flickr. People can upload their photos to an online album. They would upload the image and PHP would resize it to make a reasonable sized image and resize it again to make a thumbnail. Can Javascript resize the image to get it reasonable sized image before uploading it? It would shorten the upload time and save bandwidth.
Christian J
Sep 16 2006, 12:31 PM
AFAIK JS can't resize the user's local image files, not even if he loads them in his browser (you can of course resize an IMG element, but that doesn't affect the image file).