WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Svennoz
    Member
    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

    http://wordpress.org/extend/plugins/printfriendly/

  2. printfriendly
    Member
    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
    Member
    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
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed!

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

    Best,

    Taylor

  5. Svennoz
    Member
    Posted 1 year ago #

    Thank you very much it is working now :D

  6. tracy_K
    Member
    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 :)
    Thanks!

  7. aisajib
    Member
    Posted 1 year ago #

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

    Thanks.

  8. tracy_K
    Member
    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
    Member
    Posted 1 year ago #

    Hi aisajib
    Have you found a solution to my problem?
    Thank

  10. aisajib
    Member
    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
    Member
    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
    Member
    Posted 6 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;

    http://prntscr.com/2hsnnx
    http://prntscr.com/2hssc8
    http://prntscr.com/2hssjx

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

    what should i do?

  13. printfriendly
    Member
    Plugin Author

    Posted 6 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.
    printfriendly.com
    pdf.printfriendly.com

  14. j0hnd
    Member
    Posted 6 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