Resizing images |
Resizing images |
CodeKing |
Sep 16 2006, 11:42 AM
Post
#1
|
Advanced Member Group: Members Posts: 175 Joined: 12-September 06 Member No.: 118 |
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
Post
#2
|
. Group: WDG Moderators Posts: 9,664 Joined: 10-August 06 Member No.: 7 |
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).
|
CodeKing |
Sep 16 2006, 01:44 PM
Post
#3
|
Advanced Member Group: Members Posts: 175 Joined: 12-September 06 Member No.: 118 |
Thanks
|
Lo-Fi Version | Time is now: 8th May 2024 - 01:11 AM |