Image-Dired extends Dired to create an image and image thumbnail viewer. Using Image-Dired 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.

Image-Dired has been part of GNU Emacs since version 22.1 - prior to that it was known as Tumme, which means thumb in Swedish. If you want to know how to pronounce it, download this OGG-file.

The code is here:


You can read more about Image-Dired in the Emacs Manual. For more background and basic usage, reading the Commentary section in image-dired.el is strongly recommended.

See also Bookmark Tags, for another way to tag image files, view tag listings, etc.

Current version

Current version is 0.4.11.


Main interface


The picture above shows how Image-Dired 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 (Image-Dired creates one on the fly) version in an extra buffer below the thumbnail buffer.


This image shows how well Image-Dired works with its buffers in different frames.

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"
     (setq image-dired-cmd-create-thumbnail-options
           (replace-regexp-in-string "-strip" "-auto-orient -strip" image-dired-cmd-create-thumbnail-options)
           (replace-regexp-in-string "-strip" "-auto-orient -strip" image-dired-cmd-create-temp-image-options))))

As of version ??:

(eval-after-load "image-dired"
     (setq image-dired-cmd-create-thumbnail-options
           (cons "-auto-orient" image-dired-cmd-create-thumbnail-options)
           (cons "-auto-orient" image-dired-cmd-create-temp-image-options))))

Gallery generation

As of version 0.4.5, Image-Dired 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.

CategoryDirectories MultimediaModes