Add an image type to the urlpusher

In order to display "raw" images a bit fancier an image type is added to
the url pusher. It workes exactly the same way as the url type but
instead of 'url' it's 'img'.
Support the image type and improve swapper