Ready to get started?Download WordPress


Print Friendly and PDF Button
[resolved] Image not showing in print page (14 posts)

  1. Svennoz
    Posted 1 year ago #

    Hello all,

    I have Print friendly version 3.1.4 and wordpress version 3.4.2

    Everything was fine, but now suddenly when I press the print button it doesn't show the product image and product name.
    It now only shows desciption, which is good, and the headline related products, which shouldn't be there.

    Any idea's what might fix this ?

    Site is: http://www.thegift.nl

    All help is much appreciated :D


  2. printfriendly
    Plugin Author

    Posted 1 year ago #

    The parsing is handled independent of the plugin.

    On this page, it's difficult for the algorithm to determine if the image is part of the content or not. We are making constant improvements/adjustments and will eventually get the correct content.

    To fix today, please add class="print-only" to the element(s) you want printed/pdf. You may need to add to both the image and the description.

  3. Svennoz
    Posted 1 year ago #

    Thank you for your response.
    The thing is that it did work before and I didn't really change anything and now suddenly after doing nothing the header "related products" is gone, which is good and the title is showing now which is also good.

    The only thing missing now is the featured image that shows in the product page. And i don't know how to add "class="print-only" " to featured images and the fact is that there a over 300 images. So adding it individually will require a lot of work.

    I'm thinking about updating (currently 3.1.4), might that solve the problem ? Only thing i'm worried about is that when I update, it might mess something up.

  4. printfriendly
    Plugin Author

    Posted 1 year ago #


    Thank you for your patience and persistence. The clue that helped me solve was hearing that it worked in previous versions.



  5. Svennoz
    Posted 1 year ago #

    Thank you very much it is working now :D

  6. tracy_K
    Posted 1 year ago #

    I have the exact same problem - used "class="print-only" - works on some pages - some not showing images.... any solutions?
    Please help :)

  7. aisajib
    Posted 1 year ago #

    Hi tracy_K, can I have the URL of your website where you are having issues?


  8. tracy_K
    Posted 1 year ago #

    Hello thank you so much for your quick response ....

    page that doesn't show images .... http://hispyviewing.com/models/non-coin-10x-binocular-viewer/

    page that shows the images .... http://hispyviewing.com/models/10x-wheelchair-accessible-non-coin-binocular-viewer/

    weird ... if you can help me out - that would be fantastic!
    Thanks again

  9. tracy_K
    Posted 1 year ago #

    Hi aisajib
    Have you found a solution to my problem?

  10. aisajib
    Posted 1 year ago #

    Hi tracy_K,

    I was able to replicate the problem and still with the developers. Will definitely update to this thread once we can figure out a solution.

    Thanks for your patience.

  11. printfriendly
    Plugin Author

    Posted 1 year ago #

    Thanks for reporting. We'll figure this out and have a fix within days to a week or two.

    If you want to solve right away, add class="print-only" the content element(s). It will print each element(and children) with class="print-only".

  12. j0hnd
    Posted 8 months ago #

    i can't make the images print in the pdf file. i already add the class="print-only" but still not working.

    the image does shows in the print preview (lightbox) but when hitting the pdf button to print. the image is not included in the pdf file.

    our website is not yet live, the least i can do is add this snapshots;


    i'm adding the whole content to be printed by jquery. its not the usual wp post/page.

    what should i do?

  13. printfriendly
    Plugin Author

    Posted 8 months ago #

    If the images are not accessible on the internet (like a local computer used in a dev environment), our servers cannot access the images when the PDF is generated.

    Once the images are in a public location, they'll be included.

    You can grant access to our domains as well.

  14. j0hnd
    Posted 8 months ago #

    thank you for your response. I'll check on that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic