SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions
Yemen, National Day

Tumme

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 ‘image-dired’:

GIT:image-dired.el

For more background and basic usage, reading the Commentary section in tumme.el is strongly recommended.

Current version

Current version is 0.4.11.

Features

Screenshots

Main interface

TummePic01

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.

TummePic05

This image shows how well tumme works with its buffers in different frames.

Gallery generation

As of version 0.4.5, tumme has a command to generate a simple gallery from your tagged images:

TummePic02

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:

TummePic03

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:

TummePic04

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.


EXIF rotation

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.


CategoryDirectories MultimediaModes