xcoderx Posted April 2, 2010 Share Posted April 2, 2010 friends please guide with some coding or suggest how do resize of a large image before uploading to server? say if someone is uploading an image of 10mb size how to resize the size to something about 50 to 100kb max? and if someone is uploadng a small size image which is below 100 or 100kb it stays intact and no changes gets to it, it should resize only the images which are large. i see even facebook does it. i have uploaded image of 7mb on facebook but after uploaded to their server the image size becomes abt 100kb. Quote Link to comment https://forums.phpfreaks.com/topic/197329-image-resizing-before-upload/ Share on other sites More sharing options...
oni-kun Posted April 2, 2010 Share Posted April 2, 2010 http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php getimagesize filesize Quote Link to comment https://forums.phpfreaks.com/topic/197329-image-resizing-before-upload/#findComment-1035766 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.