Title: Show files by folder
Last modified: August 31, 2016

---

# Show files by folder

 *  Resolved [zer0890](https://wordpress.org/support/users/zer0890/)
 * (@zer0890)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/)
 * Hi,
 * I am using your plugin with google drive.
    I classified my pictures in google
   drive per folder but i didn’t find solution to display them per folder ( it’s
   only display all the pictures in all the folders and i can’t see to each folder
   it’s belong).
 * Do you have a solution ?
    Thanks
 * [https://wordpress.org/plugins/external-media/](https://wordpress.org/plugins/external-media/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120466)
 * Hi, good question. I will look into this.
    I found this: [http://stackoverflow.com/questions/14414593/how-to-show-folders-and-dont-show-private-files-on-the-google-drive-picker](http://stackoverflow.com/questions/14414593/how-to-show-folders-and-dont-show-private-files-on-the-google-drive-picker)
   Seems like it is possible to do that.
 *  Thread Starter [zer0890](https://wordpress.org/support/users/zer0890/)
 * (@zer0890)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120524)
 * Hi ,
    Thanks for your answer. I tried to add this line in the file GoogleDrive.
   js like this : function createPicker() { if ( pickerApiLoaded && oauthToken ){
   var view = new google.picker.View( google.picker.ViewId.DOCS ); **view.setIncludeFolders(
   true);** var $type = _parent_container.data( ‘type’ ); var $plugin = _parent_container.
   data( ‘plugin’ ); var $extensions = _parent_container.data( ‘mime-types’ ); var
   $cardinality = _parent_container.data( ‘cardinality’ );
 * But it returns me an error. Could you help me where i need to copy this function?
   I am not a programmer
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120618)
 * Hi,
    I have a very limited time this week, but should be able to look into this
   more next week. If the code works, I will make it easy to use for non-programmers.
   Will probably add a checkbox to the configuration page. Please stand by, I hope
   this missing feature is not preventing you from using the plugin.
 * Thanks,
    Minnur
 *  Thread Starter [zer0890](https://wordpress.org/support/users/zer0890/)
 * (@zer0890)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120700)
 * Hi,
 * It will be a great thing for us !!
    Thanks.
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120729)
 * Hi,
    I just implemented this. Please download version 1.0.6. Please let me know
   if that’s what you were looking for! Thanks!
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120730)
 * I am marking this as resolved. Please let me know if you have any issues with
   this.
 *  Thread Starter [zer0890](https://wordpress.org/support/users/zer0890/)
 * (@zer0890)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120739)
 * Hi Minnur,
 * I still dont see options to quote display by folder.
    I also delete and instal
   the plgin to be sur that it dosn’t come from my side. Are you sure you released
   the good version ?
 * Thanks
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120740)
 * Yep, I am pretty sure. I see all the folders in my account. The next release 
   will have more options to control Google Drive. I am still testing it.
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120741)
 * This is the file from 1.0.6 version.
    [https://plugins.svn.wordpress.org/external-media/tags/1.0.6/plugins/js/GoogleDrive.js](https://plugins.svn.wordpress.org/external-media/tags/1.0.6/plugins/js/GoogleDrive.js)
   As you can see I added the following: 1. google.picker.ViewId.FOLDERS 2. view.
   setIncludeFolders(true);
 * Please try clear your browser cache.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Show files by folder’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-media_f1f1f1.svg)
 * [External Media](https://wordpress.org/plugins/external-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-media/)
 * [Active Topics](https://wordpress.org/support/plugin/external-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-media/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [minnur](https://wordpress.org/support/users/minnur/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/show-files-by-folder/#post-7120741)
 * Status: resolved