I have a sample of my JSON file(it is pretty big so I will not show all of it) like this. 

```
[ 
   {
    "name":"Costel Pantilimon",
     "position":"GK",
     "age":"28",
     " number":"1",
     "photo":"images/costel_pantilimon.png"
    },
    {
     "name":"Vito Mannone",
     "position":"GK",
     "age":"27",
     "number":"25",
     "photo":"images/Mannone.png"
     }
]

```

I display all the JSON objects in a listview. 

![JSON listview](https://i.stack.imgur.com/0FWBF.png)

I click on the first row and the name of the player is shown in a new activity in a simple textview. So far so good. The problem is that I want to display the image too,and I am strugling with this one. 

Here is a part of my code that does this webservice job.

```
 public void onItemClick(AdapterView<?> parent, View view, int position,    
 long id) {
    String details = playersList.get(position).getDetails();

    //Log.d("Theo", details);

    switch (position) {
        case 0:

            Intent i = new Intent(PlayersList.this, ExtraInfo.class);
            i.putExtra("details", details);

            startActivity(i);
            break;

    }
   }
   private class MyTask extends AsyncTask<String, String, List<Players>> {

    @Override
    protected void onPreExecute() {
        if (tasks.size() == 0) {
            pb.setVisibility(View.VISIBLE);
        }
        tasks.add(this);
    }

    @Override
    protected List<Players> doInBackground(String... params) {

        String content = HttpManager.getData(params[0]);
        playersList = PlayersJSONParser.parseFeed(content);

        for (Players p : playersList) {
            try {
                String imageUrl = PHOTOS_BASE_URL +p.getPhoto();
                InputStream in = (InputStream) new 
    URL(imageUrl).getContent();
                Bitmap bitmap = BitmapFactory.decodeStream(in);
                p.setBitmap(bitmap);
                in.close();
            } catch (Exception e) {
                e.printStackTrace();

            }
        }

        return playersList;
    }

    @Override
    protected void onPostExecute(List<Players> result) {

        tasks.remove(this);
        if (tasks.size() == 0) {
            pb.setVisibility(View.INVISIBLE);
        }

        if (result == null) {
            Toast.makeText(PlayersList.this, "Web service not available", 
    Toast.LENGTH_LONG).show();
            return;
        }

        playersList = result;
        updateDisplay();

    }

 }

```

And the activity that actually displays the name is 

```
public class ExtraInfo extends ActionBarActivity {
TextView detailsText;
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_extra_info);

    detailsText = (TextView)findViewById(R.id.detailsText);
    String details = getIntent().getStringExtra("details");
    Log.d("Extra info", details);

    detailsText.setText("" + details);

  }

}

```

Any ideas on how to pass the image in the new activity? 

Thank you for reading my question,

Theo