• Resolved arodriguez92

    (@arodriguez92)


    Hello!

    The company I work for uses this plugin on our client’s pages so that they may print the page if they wish, but a funny thing happens.

    If you click ‘Print this page’ the pop up page looks fine. But if you close that print page and look at the actual Page, it shows all the images on the page. We have mobile and desktop versions of our pages with different images for each, so it’s odd that it brings them both up. How do I fix this?

    Also you can test it out on this Page:

    https://xplorie.com/fun/pmc-test/

    1. Click ‘Print this page’
    2. Close Print Page Window
    3. See the duplicated images on the actual page

    These duplicated images go away if you refresh the page, but I would love to be able to fix this problem!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Baden

    (@baden03)

    Hello.

    The reason is because you have defined the following items under “do not print”

    .mobile, .stretchyimage, a, .printFriendly01
    

    The way do not print works, is it takes items that are visible on the display page, and hides them for printing, then displays them again.

    If these items are already being hidden, they do not need to be hidden (again) on the print page, as they will then be targeted for the show() command, leading to your double trouble.

    Let us know if that makes sense and helps you resolve your issue!

    Thread Starter arodriguez92

    (@arodriguez92)

    Hi! Thanks for responding so quickly! I tried removing those and while it fixed those from duplicating on the actual page it duplicated them on the Print page instead!

    Plugin Author Baden

    (@baden03)

    this is because you need to either include the CSS from your theme into the print page…
    or add the same CSS used to hide the elements on the display page to the print page.
    This can be done in the plugin’s settings page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Print-O-Matic duplicates Page’s Images’ is closed to new replies.