public LinkedList<ImageIcon> getSavedImages(SolrDocumentList docs) {

    LinkedList<ImageIcon> pictures = null;
    // long time=0;
    pictures = new LinkedList<ImageIcon>();
    for (SolrDocument doc : docs) {
      String pictureURL = (String) doc.getFieldValue(PICTURE_URL);
      // long tic = System.currentTimeMillis();
      String fileName = (String) doc.getFieldValue(FILE_NAME);
      ImageIcon pic = null;
      if (imgProducer.hasImg(fileName)) {
        pic = imgProducer.getImg(fileName);
      } else {
        pic = imgProducer.saveImg(pictureURL, fileName, true);
      }
      // time += (System.currentTimeMillis()-tic);
      if (pic == null) {
        pictures.add(imgProducer.getImg(defaultImage)); // Add default
                                // image if link
                                // doesn't work
        System.err.println("Warning, this picture is null!");
      } else {
        pictures.add(pic);
      }

    }

    // System.err.println("total time to get pic " + time);
    return pictures;
  }