Tumme extends dired to create an image and image thumbnail viewer. In Emacs 22 it’s called
‘image-dired’. Using Tumme you can browse, organize and tag your pictures using familiar dired commands. It will not create thumbnails until they are needed resulting in fast interactive performance.
Tumme means thumb in Swedish. If you want to know how to pronounce it, download this OGG-file.
Tumme comes with GNU Emacs starting with version 22.1 as
For more background and basic usage, reading the Commentary section in tumme.el is strongly recommended.
Current version is 0.4.11.
The picture above shows how tumme displays the original image’s file name and tags in the echo area and how the movement in the thumbnail buffer have been mirrored automatically in the associated dired buffer. You can also see an automatically sized (tumme creates one on the fly) version in an extra buffer below the thumbnail buffer.
This image shows how well tumme works with its buffers in different frames.
As of version 0.4.5, tumme has a command to generate a simple gallery from your tagged images:
The picture above shows the index page, with links to each tag-page. Navigating to one of the tags, you see a page like this:
Some images has un-linked text under it. That is the image’s comment (no one in the screenshot above has one though…). Under the image is also displayed additional tags that this file might have, and you can jump to those tag-pages from here:
That’s it. Simple. Works. I guess that it doesn’t get more sexy :), at least not as long as it is a static gallery. I plan to add an option to include a CSS-file so that you can customize the look of it. I don’t know much about CSS and stuff, but I guess I need to add the class-attribute to each page element. Suggestions on this subject are welcome.
Btw, if my server is up (you can see the URL in the screenshots, I won’t place a link to it in pure text because I’m not sure I want much traffic in there), you can test it live.
By default, image-dired does not respect the EXIF rotation field when displaying thumbnails or images. However, it’s easy to add. Customize the variables image-dired-cmd-create-temp-image-options and image-dired-cmd-create-thumbnail-options and add -auto-orient to the command lines for convert. For example, you can write the following to add this option to the two variables without knowing too much about their content:
(eval-after-load "image-dired" '(progn (setq image-dired-cmd-create-thumbnail-options (replace-regexp-in-string "-strip" "-auto-orient -strip" image-dired-cmd-create-thumbnail-options) image-dired-cmd-create-temp-image-options (replace-regexp-in-string "-strip" "-auto-orient -strip" image-dired-cmd-create-temp-image-options))))
See also Bookmark Tags, for another way to tag image files, view tag listings, etc.