Added view to generate thumbnail with imagemagick.

This work pretty well because in combination with lazy loading the images the user doesn't notice that the page is not yet fully loaded.

I still have to add the imagemagick dependency to the deploy repo.
Closes #136