Click here to Skip to main content
14,298,693 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello everyone,
I have my website which contains lot of images....

To bind images i written a coding in javascript....which takes more time to load the page because the image takes more memory space like 2MB.

I need javascript coding to reduce memory space of image not the size and its quality....

Can anyone pls help me....
Posted
Updated 4-Sep-19 1:38am
Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Comments
vivekx2 6-Jun-12 1:13am
   
I asked javascript coding to compress image that upload in my site....not to compress javascript coding....
Rate this:
Please Sign up or sign in to vote.

Solution 2

Hi,

Compressing image with Javascript is not possible. You have to use flash plugins like ActionScript to compress image before uploading (like facebook uploads).

Here is the like for , try it it may helps you Here[^]

Thanks
--RA
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100