Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 ww.wp.xz.cn Discussion image-missing when https

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

    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

    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

    Thread Starter apjpcom

    (@apjpcom)

    Hello,

    There is a possibility that the button images set to display
    at the plugin control panel goes to http:// 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="http://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

    • This reply was modified 7 years, 6 months ago by apjpcom.
    • This reply was modified 7 years, 6 months ago by apjpcom.
    • This reply was modified 7 years, 6 months ago by Steven Stern (sterndata).
Viewing 4 replies - 1 through 4 (of 4 total)