title: Ranger won't show image preview
body: <p>some weeks ago i installed ranger on my new ubuntu machine and tried out the image preview. It did not work immediately but after some tweaks i could get the desired result.
  What I did (at least what i remember)</p>
  <ol>
  <li>install all dependencies (w3m, pillow)</li>
  <li>change TERM (back) to &quot;xterm-kitty&quot; (i'm using Kitty)</li>
  <li>set preview_images true</li>
  <li>set preview_images_method w3m<br />
  i know, it should be &quot;kitty&quot;, but that did not work)</li>
  </ol>
  <p>After i realized, that there was no way to get it to work with tmux, iwas disapointed and did not use ranger that much.</p>
  <p>Now i switched to a tiled WM and use ranger a lot, but the image preview is not working anymore.</p>
  <p>It would be nice if someone could help me out.</p>
  <p>Here are the relevant parts of may ranger config:</p>
  <pre><code># Use one of the supported image preview protocols
  set preview_images true
  
  # set preview_images_method w3m
  set preview_images_method kitty # does not work in tmux
  </code></pre>
  <p>you can find the whole config at <a href="https://github.com/Artem-Schander/dotfiles/blob/master/config/ranger/rc.conf.symlink" rel="nofollow noreferrer">my dotfiles</a></p>
  <h1>Edit</h1>
  <p>Note this is not about apache-ranger</p>