title: Open gallery except .gif images
body: <p>I want to open device gallery except <strong>.gif images</strong>.</p>
  
  <p>I tried the following code but it showing all images in gallery, let me help</p>
  
  <pre><code>Intent pickPhoto = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
  
  if(Build.VERSION.SDK_INT &gt;21){
      pickPhoto.setType("image/*");
      pickPhoto.setAction(Intent.ACTION_GET_CONTENT);
  }
  startActivityForResult(pickPhoto, PICK_FROM_GALLERY);
  </code></pre>