How can i send an image from php to android, using volley and Json
<p>im trying to load an image that i need to load from a server, 
I have 3 questions:</p>

<ol>
<li>I don't know how i can convert the images in bitmaps (this in the server side)</li>
<li>How to convert this bitmap in a image (this in the android side).</li>
<li>How can i send this bitmap with volley request.</li>
</ol>

<p>I am using volley to make the request.
The server method that i have is this:</p>

<pre><code>function getImage($image_path){
    $base ='images/practices/'.$image_path;
        $binary=base64_encode($base);
        $resp['image_binary']= $binary;
        print_r(json_encode($resp));
}
</code></pre>

<p>The method that I am using to do the other requests is:</p>

<pre><code>String url = "---------";
    JsonObjectRequest request = new JsonObjectRequest(Request.Method.POST, url, null,
            new Response.Listener&lt;JSONObject&gt;() {
                @Override
                public void onResponse(JSONObject response) {
                        try {
                        //here the processing of the response...
                        } catch (JSONException e) {
                            e.printStackTrace();
                        }
                }
            },
            new Response.ErrorListener() {
                @Override
                public void onErrorResponse(VolleyError error) {
                    Log.e("error",""+error.toString());
                }
            }
    );
    VolleyS.getInstance(this).addToRequestQueue(request);
</code></pre>