Title: Image missing (Broken image)
Last modified: November 7, 2018

---

# Image missing (Broken image)

 *  Resolved [apjpcom](https://wordpress.org/support/users/apjpcom/)
 * (@apjpcom)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/image-missing-broken-image/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-missing-broken-image%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [apjpcom](https://wordpress.org/support/users/apjpcom/)
 * (@apjpcom)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10858915)
 * 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, 7 months ago by [apjpcom](https://wordpress.org/support/users/apjpcom/).
    -  This reply was modified 7 years, 7 months ago by [apjpcom](https://wordpress.org/support/users/apjpcom/).
    -  This reply was modified 7 years, 7 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10886522)
 * 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](https://wordpress.org/support/users/apjpcom/)
 * (@apjpcom)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10905441)
 * 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](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10929645)
 * 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](https://wordpress.org/support/users/apjpcom/)
 * (@apjpcom)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10933210)
 * 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](https://nobeljp.stationet.com/karte_pdf/)
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10949459)
 * 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](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](https://wordpress.org/support/users/apjpcom/)
 * (@apjpcom)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10952164)
 * Hello,
 * Thank you for your response and proposal.
    We did submit a ticket refering THIS
   url of forum.
 * id : 16185
    subject : print_pdf via WordPress.org 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.

 * ![](https://ps.w.org/pdf-print/assets/icon-256x256.gif?rev=2580392)
 * [PDF & Print by BestWebSoft - WordPress Posts and Pages PDF Generator Plugin](https://wordpress.org/plugins/pdf-print/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-print/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-print/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-print/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-print/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-print/reviews/)

## Tags

 * [gif](https://wordpress.org/support/topic-tag/gif/)
 * [HTTP500](https://wordpress.org/support/topic-tag/http500/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [missing](https://wordpress.org/support/topic-tag/missing/)
 * [png](https://wordpress.org/support/topic-tag/png/)

 * 7 replies
 * 2 participants
 * Last reply from: [apjpcom](https://wordpress.org/support/users/apjpcom/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/image-missing-broken-image/#post-10952164)
 * Status: resolved