Hi my friend i have a section that user upload their image. but i want to resize image (to 50k) with javascript so that they have easier upload(because of internet low speed) thank you
If you use Javascript, then the actual image will not be resized. You should look at PHP image resize functions available widely online.
i can't use php , because i want to resize images in user machine so that the image file size decrease and they upload their image easier. he has a image that it's size is 2 Mb and want to upload it. the image must, first, convert to 50 Kb file and then upload