I want to create Thumbnail from client by jQuery. Server sent image url to client, Size of this image is 5mb, client will handle and create a thumbnail have size about 10kb. I don't want to read this image on sever and return image to client, because there're
many image and have no server can handle it. I want to server sent image url to client and client get what it need. How can I do it with jQuery or Javascrip or another language?
Now you can either generate thumbnail at serverside and display it. Or download the image at client side and generate thumbnail. I dont think there would be is any intermediate stage.
Trung Truc
0 Points
26 Posts
How to create Thumbnail from client
Jan 25, 2013 12:57 AM|LINK
I want to create Thumbnail from client by jQuery. Server sent image url to client, Size of this image is 5mb, client will handle and create a thumbnail have size about 10kb. I don't want to read this image on sever and return image to client, because there're many image and have no server can handle it. I want to server sent image url to client and client get what it need. How can I do it with jQuery or Javascrip or another language?
fayaz_3e
Star
9332 Points
1744 Posts
Re: How to create Thumbnail from client
Jan 25, 2013 05:43 AM|LINK
There is a beautiful plugin to do so. All you have to do is have image tag then call the function. Boom! You got thumbnail.
http://www.garralab.com/nailthumb.php
Trung Truc
0 Points
26 Posts
Re: How to create Thumbnail from client
Jan 25, 2013 06:26 AM|LINK
It download image then resize it, I want to create thumbnail form url image. Not download it. How can?
fayaz_3e
Star
9332 Points
1744 Posts
Re: How to create Thumbnail from client
Jan 25, 2013 10:50 AM|LINK
Now you can either generate thumbnail at serverside and display it. Or download the image at client side and generate thumbnail. I dont think there would be is any intermediate stage.