title: loading images from MediaStore fails with Picasso on android 7.1
body: <p>Hi I am loading images to grid from android MediaStore like  this</p>
  
  <pre><code>   private ArrayList&lt;ImageItem&gt; loadImageData() {
      Cursor cursor;
      int columnIndex;
  
      // Set up an array of the Thumbnail Image ID column we want
      String[] projection = {MediaStore.Images.Media.DISPLAY_NAME, MediaStore.Images.Thumbnails._ID, MediaStore.Images.Media.DATA, MediaStore.Images.Thumbnails.DATA};
  
      // Create the cursor pointing to the SDCard
  
      cursor = context.getContentResolver().query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
              projection, // Which columns to return
              null,       // Return all rows
              null,
              null);
      // Get the column index of the Thumbnails Image ID
      int imageID;
  
      cursor.moveToFirst();
      final ArrayList&lt;ImageItem&gt; imageItems = new ArrayList&lt;&gt;();
      for (int i = 0; i &lt; cursor.getCount(); i++) {
          columnIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Thumbnails._ID);
          imageID = cursor.getInt(columnIndex);
          int nameIndex = cursor
                  .getColumnIndexOrThrow(MediaStore.Images.Media.DISPLAY_NAME);
          int fullImageIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
          String uri = "file://" + cursor.getString(fullImageIndex);
  
  
          int thumbIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Thumbnails.DATA);
          String TbUri = "file://" + cursor.getString(thumbIndex);
  
  
  
          imageItems.add(new ImageItem(TbUri, cursor.getString(nameIndex), uri));
          cursor.moveToNext();
          }
  
      cursor.close();
      return imageItems;
  }
  </code></pre>
  
  <p>then I add the thumbs to grid </p>
  
  <pre><code>     Picasso.with(gridContext).load(item.getImage()).fit().centerCrop().into(Holder.image);
  </code></pre>
  
  <p>on on android  4.0.1  device this  code works  fine. </p>
  
  <p>but on android 7.1  I get few images loaded to grid an rest are missing.
  images that don't show are JPEG taken with  the device camera. images  from download folder or whatsApp are shown correctly.</p>
  
  <p>In logcat I get error below:</p>
  
  <p><code>e: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.                                                                   java.io.IOException: Invalid marker: 89</code></p>
  
  <p>could this be related to thumbnails? because I use:</p>
  
  <pre><code> int thumbIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Thumbnails.DATA);
      String TbUri = "file://" + cursor.getString(thumbIndex);
  </code></pre>