Actually, i am uploading a file to my server.. Now suppose if i uploads
the file of more than 1Mb.. then its taking a lot of space.. And also
taking a lot of time in showing that image .. Just like thumbnails ..
So now what i want is that is there any way by which i can reduce or
minimize the size of the file before saving to my database .. I mean how
to create thumbnail .. Want to know each and every possible way .. if
possible .. ?