Question: I read about auto-image-file-mode , which I think displays image files as images within emacs. I'd like to use it. [This doc](http://www.emacswiki.org/emacs/AutoImageFileMode) says it has been replaced by image-mode. 

I can't get either to work. 

Any help?

Answer: 
I got it to work, by downloading the packages for PNG and JPG [from GnuWin32](http://gnuwin32.sourceforge.net/packages.html), and putting the required DLLs into the \emacs\bin directory: 

```
From LibPng: 
  libpng-config
  libpng12-config
  libpng12.dll
  libpng3.dll
  zlib1.dll

From jpeg: 
  jpeg62.dll

```

Now it works. Here's a screen-shot of editing a SO question, being displayed in emacs.

[![alt text](https://i.stack.imgur.com/n9Wa3.png)](https://i.stack.imgur.com/n9Wa3.png)

You could also drop those DLLs on the OS's PATH, before running runemacs.exe. That works, too.
Using Emacs 23.1 (on Fedora 12) when I visit a `*.png` file, it shows up as an image in the Emacs buffer. Similarly for `*.gif` and `*.pdf` files. The mode was advertised as Image[png], fwiw.