• Resolved apjpcom

    (@apjpcom)


    Hello,

    It had been showing when PDF is created ( in August when we test )
    but today, we found the image is not showing at the bottom of the page
    when clicking PDF button.

    We change the image URL from relative to absolute but still the image
    is showing only before the PDF generation, on PDF file the image is
    missing. Are there anyway to solve this issue?
    Am I missing any settings which should be set?

    Thank you for your kind support in advance,
    H Fougino

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter apjpcom

    (@apjpcom)

    Hello,

    There is a possibility that the button images set to display
    at the plugin control panel goes to https:// environment.

    pdf.png and print.png is not under https:// environment

    wp-content/plugins/pdf-print/images/pdf.png
    wp-content/plugins/pdf-print/images/print.png

    Are there anyway to make these image source URL for button comes up with https://

    <div class="pdfprnt-buttons"><a href="https://domainname.com/candyukey4/?print=pdf" target="_blank" rel="noopener noreferrer"><img src="https://domainname/wp-content/plugins/pdf-print/images/pdf.png" alt="image_pdf" /></a></div>

    Since every web sites are going to move under the SSL environment, right?
    SO it is important for the plugin to set https:// for the images too when
    the site itself is under https:// environment.

    Thanks,
    H Fougino

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us! We apologize for taking so long in responding to this topic.

    In order to detect the problem, please go via FTP to {wp_root_folder}/wp-content/plugins/pdf-print;
    1. Find “pdf-print.php” file and open it in the edit mode;
    2. Find the following line: $mpdf->allow_charset_conversion = true; and insert $mpdf->showImageErrors = true; after it;
    3. Save changes and check the plugin’s work again.

    If you see any errors or warning messages please provide us with them.

    Thread Starter apjpcom

    (@apjpcom)

    Hi,

    Thank you for responding.

    I did enter the line ( it is line 1052 with my environment, with my editor )
    then we get Internal Server Error code:500
    So that we can’t see the error but the page goes white-out.
    At this moment, we back to the default, codes are as follows, commenting out
    the said line and it is working without that line you’ve suggested.

    How can we solve this error?

    $mpdf->allow_charset_conversion = true;
    //$mpdf->showImageErrors = true;
    $mpdf->charset_in = get_bloginfo( 'charset' );

    FYI, without using “https” the plugin is working like a charm, very good.

    Thanking for your kind cooperation and advice in advance,
    H Fougino

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We noticed that you are using image in .gif format. Please try to use another format (for example .png).

    Let us know about the result.

    Thread Starter apjpcom

    (@apjpcom)

    Hello,

    Thanks for your response,
    The link attached to my first post, the same URL I did attached to this post too,
    now having the image with png format. It looks it’s not the GIF causing error.
    Still, when click to get PDF file the image is missing.

    Could you kindly give us any solution regarding the 500 error we’ve caught?
    …along your lase suggestion to rewrite a part of PHP file itself.
    //$mpdf->showImageErrors = true;

    Thank you for your kind support,
    H Fougino

    test page on going

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Unfortunately, we cannot reproduce this problem on our local environment. Please provide the access credentials to your WordPress admin dashboard (with Administrator’s permissions) and the FTP credentials (host, username, and password), in order to detect the reason and find the solution.

    During making tests we’ll probably deactivate some of your plugins or switch the theme. That’s why before giving the access, we recommend you to make a full backup of your site.

    Since this data is confidential, maybe, it would be better if you create a private ticket on our support forum (https://support.bestwebsoft.com/hc/en-us/requests/new). Please include a link to this post, so that we could recall the case immediately.

    Thread Starter apjpcom

    (@apjpcom)

    Hello,

    Thank you for your response and proposal.
    We did submit a ticket refering THIS url of forum.

    id : 16185
    subject : print_pdf via www.ads-software.com Discussion image-missing when https

    Thanking to your kind support in advance and awaiting to hear from you soon,
    H Fougino

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image missing (Broken image)’ is closed to new replies.