It's kind of a blog if you don't think about it too hard

feed Atom Feed



Valid HTML 4.01 Strict [Valid Atom 1.0]

Fast network image thumbnails in GNOME/Nautilus/Nemo

January 14, 2021

I recently noticed that when browsing a network folder full of photos in Linux using Nautilus or Nemo, the thumbnails are generated much, much slower than they are when browsing the folder from Windows Explorer. I don't know what Windows' secret sauce is for this problem, but I realized that by extracting the thumbnails embedded in the EXIF data of many JPEG files, thumbnail generation performance can be greatly improved since the entire file no longer needs to be transferred over the network in order to generate its thumbnail. And so, jpeg-exif-thumbnailer was born.


The mogrify and exiftool programs must be installed. On Ubuntu and Debian, these may be found in the imagemagick and libimage-exiftool-perl packages.

This thumbnailer has been tested on Ubuntu 20.04, in the Nautilus and Nemo file managers.


Download the archive and extract it. Run ./install, or see the README for instructions on manual installation.

Known issues

If the embedded thumbnails are not large enough, Nemo falls back to reading the entire file to generate a thumbnail. Unfortunately, fast EXIF thumbnails will probably not work properly when Nemo is using a high zoom level.


Add comment

Email (optional):
Human?What is the third word of the above blog post?


November 10, 2023 2:42AM

thank you, that solved me some trouble!
Just a couple of problems:
1) The locale, if not EN, will cause problems with output of gio command. Just adding export LC_MESSAGES=C to your script will solve it.
2)Thumbnails are not rotated as the original image, but always in horizontal mode. The solution is more it from this post :
Just replace your exiftool line with:
exiftool -config /usr/share/thumbnailers/exiftool.conf -b -rotatedthumbnail "$input_path" > "$3"
and provide the .conf file as explained in linked post.