The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Resizing images
CodeKing
post 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. biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 16 2006, 12:31 PM
Post #2


.
********

Group: WDG Moderators
Posts: 8,206
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).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CodeKing
post Sep 16 2006, 01:44 PM
Post #3


Advanced Member
****

Group: Members
Posts: 175
Joined: 12-September 06
Member No.: 118



Thanks biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th August 2019 - 09:52 PM