! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Folder thumbnails


Description cyqzz 2007-08-28 19:10:31 CEST
A feature from Windows Explorer which I really miss, is that it shows thumbnails for folders. Specifically, if the folder contains a file called Folder.jpg, its thumbnail is shown on top of a folder graphic, otherwise up to four thumbnails from files in the folder are shown (with halfed width/height) on the same graphic.

Suggested implementation:
- Look among Folder.* files in a folder to see if any has a thumbnail. If so, use that for the folder (with some way to distinguish it from a file; a background color or graphic or something).
- Otherwise, if any of the Folder.* files is thumbnailable, generate a thumbnail and use that.
- Otherwise, repeat the process with all the other files in the folder.
Comment 1 Andreas Rosvall 2010-01-20 23:04:04 CET
Created attachment 2789 
Let thunar generate thumbnails for everything
Comment 2 Jannis Pohlmann editbugs 2010-01-20 23:10:10 CET
Yep, we can do something like this now.
Comment 3 Julien [nodiscc] editbugs 2011-01-09 20:42:04 CET
Hello, I can confirm Thunar is really lacking this feature. Actually this is the only reason I still use things like banshee to browse my music library (ability to view the album covers).
Thunar could use something like looking for a folder.jpg file inside the directory, and the showing the thumbnail over the directory icon.
It could be implemented as a plugin/option if this affects performance on older machines.

Hope to see this feature in future releases.

Thanks to you all
Comment 4 Jannis Pohlmann editbugs 2011-01-10 00:24:58 CET
(In reply to comment #1)
> Created attachment 2789 
> Let thunar generate thumbnails for everything

It's not as easy. We'd also have to react on events where a folder.jpg (or whatever we'd use as the thumbnail image) is created/modified/deleted in a folder. 

I've pushed two branches for thunar and tumbler (both called jannis/folder-thumbnails) which implements a simple version (no file monitoring) idea. This needs more thinking though.
Comment 5 Jannis Pohlmann editbugs 2011-01-24 18:32:59 CET
Moving this to Thunar 1.2.0.
Comment 6 Lionel Le Folgoc 2011-03-29 20:12:03 CEST
*** Bug 4827 has been marked as a duplicate of this bug. ***
Comment 7 Nick Schermer editbugs 2012-09-26 09:38:44 CEST
*** Bug 7302 has been marked as a duplicate of this bug. ***
Comment 8 Nick Schermer editbugs 2012-09-26 10:26:15 CEST
*** Bug 5945 has been marked as a duplicate of this bug. ***
Comment 9 Bruno Cauet 2015-01-29 17:28:51 CET
I'm quite interested in this functionality as well. I think that support for thumbnails on folders and automatic intelligent creation of folder thumbnails are two separate features: the thumbnail may very well have been generated by an external program (which is what I'm doing with my music manager, beets).

The small commit on jannis/folder-thumbnails (which is not rebasable on master but is easy to manually re-apply) improves the situation: upon opening a folder the icon is shown, however it disappears on the first action (clicking, pressing a key, ...).
Comment 10 Julien [nodiscc] editbugs 2015-06-16 19:49:03 CEST
I'm very interested as well. Having folder thumbnails helps quickly looking for files inside subfolders, and allows users to set a custom thumbnail (by using a common filename such as folder.{jpg,png}, cover.{jpg,png}, front*.{jpg,png}, .mediaart/*.{jpg,png} and .mediaartlocal/*.{jpg,png} )

I did not try the patch in jannis/folder-thumbnails

What I would expect of this thumbnailer:
 * applies to inode/directory mimetypes
 * respects local only/remote thumbnailing pref
 * looks for a thumbnail image in the directory (filenames above)
 * resizes and overlays it with the directory icon for the current theme 
 * cache it?

Should this be moved to tumbler?
Comment 11 Harald Judt editbugs 2015-06-16 20:11:26 CEST
Moving to tumbler. Feel free to provide patches implementing everything still missing.
Comment 12 alexxcons editbugs 2018-12-16 22:39:05 CET
Fixed in Bug #14576, released in thunar 1.8.2

Here is a short manual on how to add a folder thumbnailer:

*** This bug has been marked as a duplicate of bug 14576 ***

Bug #3508

Reported by:
Reported on: 2007-08-28
Last modified on: 2018-12-16
Duplicates (3):
  • 4827 Request: Thumbnails for folders
  • 5945 Directory thumbnails implemented
  • 7302 Feature request: Custom folder icon


Jannis Pohlmann
CC List:
8 users




Additional information