title: Convert url of image into base 64
body: <p>I am recieveing image URL from API, while displaying the image breaks sometime. 
  For this reason i am planing to get the url from the API and Convert the image into the Base64 format and then display the image.</p>
  
  <p>As of for now i m displaying image from url obtained from the API.
  Could anyone assist me on how i can download the image from the url. And then convert it to base 64 format.</p>
  
  <p>API.URL is the url of the image obtained form API.</p>
  
  <p>Tried with many alternatives but without success, now i have decided to convert the url into base 64 before assigning. </p>