jasonday / printThis

jQuery printing plugin; print specific elements on a page

Home Page:https://jasonday.github.io/printThis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the plugin can not find the location of images

alideel opened this issue · comments

in source code

$('#basic').on("click", function () {
$('.demo').printThis({
base: "https://jasonday.github.io/printThis/"
});
});

$('#advanced').on("click", function () {
  $('#kitty-one, #kitty-two, #kitty-three').printThis({
    importCSS: false,
    header: "<h1>Look at all of my kitties!</h1>",
    base: "https://jasonday.github.io/printThis/"
  });
});

asdasdad

when I change the base value to true , the plugin cant find the location of images
in my code how can I give the location of images , css , other files to plugin

I assume you are trying this locally, and due to cross origin policy, I don't believe the images will load correctly.