Issue 2

Fix cannot render images in custom header/footer.

NOTE: We cannot fix the PhantomJS's bug by injecting images used in custom header/footer for *http(s)* resource!