Tumblr default theme, auto load external images

Tumblr’s default theme doesn’t support external images any longer. It┬áneither auto-loads them nor give you a “Load external image”-link for click-to-load like it used to and like it still does on the dashboard. Only the plain text placeholder “External image” is displayed where the image used to load.

One can restore the old auto-load functionality by editing the theme and adding the following little code snippet somewhere, e.g. right before the </body> tag.

<script type="text/javascript">
    (function($) {
        $(window).scroll(function() {
            $('div.external-image-wrapper').each(function() {
                $(this).replaceWith("<img src='" + $(this).attr("data-src") + "' />")