title: Sending an image from PHP webservice to mobile client
body: <p>I am returning a JSON object from a PHP webservice handled by a mobile web app (HTML/Javascript client using JQuery mobile). I am planning to send as well an image ; what would be the pros/cons of </p>
  
  <ul>
  <li>sending the url of the image stored on the server, (displaying <code>&lt;img src="myserver.com/path/to/myImage.png"&gt;&lt;/image&gt;</code>)</li>
  <li>sending the image itself (using base64 encoding for example)?</li>
  </ul>