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 is a part of GNU Emacs.
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.
Current version is 0.4.11.
‘dired-do-shell-command’
.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.
By default, Image-Dired does not respect the Exif orientation 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:
(with-eval-after-load 'image-dired (add-to-list 'image-dired-cmd-create-thumbnail-options "-auto-orient") (add-to-list 'image-dired-cmd-create-temp-image-options "-auto-orient") (add-to-list 'image-dired-cmd-create-standard-thumbnail-options "-auto-orient"))
On old versions:
(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))))
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.
Image-Dired is a part of GNU Emacs since version 22.1. - prior to that it was known as Tumme, which means thumb in Swedish.
- Bookmark Tags, for another way to tag image files, view tag listings, etc.