adjustments to new image block

feel free to comment on my patch :)

Will be even cooler if we can fetch image from internet during compilation time and convert it into data-uri on the fly.