title: How to resize image through php script
body: <p>I am creating a app which requires to convert a large image to thumbnail through php script and then encode it to base64 so that i can send it through the json to my android app. 
  I am having problem with resizing the image. I need php script which help me do that </p>