Title: PDF won&#8217;t render thumbnail
Last modified: May 14, 2020

---

# PDF won’t render thumbnail

 *  Resolved [nickchia](https://wordpress.org/support/users/nickchia/)
 * (@nickchia)
 * [6 years ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/)
 * Hi David,
 * I have well over 100 PDFs uploaded and rendering throughout this website, [http://www.claytonindustries.com](http://www.claytonindustries.com).
   We recently moved the site to a server with upgraded PHP v.7.2. I just uploaded
   a new PDF for the page [https://www.claytonindustries.com/articles-case-studies/](https://www.claytonindustries.com/articles-case-studies/).
   For some reason, the thumbnail won’t render. You should be able to see the PDF“
   Sant’s Greenhouse Case Study” in the fourth row. There is only a set link and
   no thumbnail.
 * Do you know why this is happening?
 * Nick
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpdf-wont-render-thumbnail%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [6 years ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-12837434)
 * Good to hear from you again, and thanks for the question. Thanks as well for 
   the link to your example; very helpful.
 * I downloaded a copy of the “Sant’s Greenhouse Case Study” PDF to my system and
   uploaded it to my development site. The thumbnail image was generated without
   errors and displays in a gallery as a thumbnail.
 * On your system, does the thumbnail show up on the Media/Assistant submenu table?
   If not, you may have a configuration problem on your new server. You can check
   your configuration by navigating to the Settings/Media Library Assistant Shortcodes
   tab and scrolling down to the “Thumbnail Substitution Support, mla_viewer” section.
   If you see something like “WARNING: MLA Viewer support may not be available:”
   followed by “Ghostscript support is not installed.” or “Imagick support is not
   installed.”, there’s a configuration problem. You will have to work with your
   hosting provider to resolve the problems.
 * You can also try the thumbnail generation experiment outlined in this earlier
   topic:
 * [One PDF thumbnail not showing after replacing with new PDF](https://wordpress.org/support/topic/one-pdf-thumbnail-not-showing-after-replacing-with-new-pdf/#post-12274830)
 * I will leave this topic unresolved until I hear back from you on the results 
   of your configuration check. Any additional information you can provide will 
   be helpful.
 *  Thread Starter [nickchia](https://wordpress.org/support/users/nickchia/)
 * (@nickchia)
 * [6 years ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-12840929)
 * Thanx for your reply,
 * The thumbnail is NOT rendering in the library. I am only getting the standard
   Acrobat icon.
 * Nick
 *  Thread Starter [nickchia](https://wordpress.org/support/users/nickchia/)
 * (@nickchia)
 * [6 years ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-12840979)
 * I checked and “Ghostscript support is not installed.” I reached out to my server.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [6 years ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-12841202)
 * Thanks for your updates and for checking out the Ghostscript support.
 * Once you get the server configured with the proper support you can use MLA’s 
   thumbnail generation feature (described in the earlier post I linked to above)
   to add thumbnails to the PDF(s) you have uploaded to the new server.
 * I am marking this topic resolved, but please update it if you have any problems
   or further questions regarding the thumbnail generation progress. Thanks for 
   your continued interest in the plugin.
 *  [amoras](https://wordpress.org/support/users/amoras/)
 * (@amoras)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-13577641)
 * Hey David,
 * Great plugin!
 * I have a similar problem with support for Ghostscript. On the shortcodes tab 
   I get the “Ghostscript support is not installed” warning.
 * I talked to my web hosting provider. And they confirmed that imagemagick and 
   ghostscript are installed.
 * I checked if imagemagick supports pdf via phpinfo() and that was also true.
 * Can you help me debug this problem? Would the way wordpress is installed on the
   server effect they way in which the plugin calls on ghostcript?
 * Mark
    -  This reply was modified 5 years, 7 months ago by [amoras](https://wordpress.org/support/users/amoras/).
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-13578916)
 * [@amoras](https://wordpress.org/support/users/amoras/) –
 * Thanks for the positive feedback and for your report. Since you’ve been assured
   that Ghostscript is installed, the problem might be that it is installed in a
   way MLA does not expect.
 * What kind of problem are you having, e.g., is it MLA-specific and if so, how?
   Does WordPress successfully generate thumbnail images for PDF documents when 
   they are uploaded?
 * If you can access your site’s error log, you can activate some MLA debug logging
   to get more information about how the detection process is failing. Here’s an
   outline of how to proceed:
    1. Navigate to the Settings/Media Library Assistant Debug tab.
    2. Scroll down to the “MLA Reporting” text box and enter “0x09”. This will turn
       on MLA debug logging for the Ghostscript detection process.
    3. Click the Save Changes button to record your new setting.
    4. Optionally, scroll to the bottom of the screen and click “Reset” to clear the
       error log. You may not want to do this depending on how you manage your error
       log.
 * Once that’s done you can run the test. The debug log might be very detailed, 
   so restricting the test as best you can will be very helpful. To reproduce your
   issue I think you can simply visit the Settings/Media Library Assistant Shortcodes
   tab and then collect the test results.
 * When you’ve finished testing, go back to the Debug screen and:
    1. Enter “0” in the MLA Reporting text box to turn debug logic off.
    2. Click the Save Changes button to record your new setting.
    3. Scroll to the bottom and click “Download” to get the log content in a text file.
 * There can be a lot of messages written to the log, so limit the amount of activity
   during the logging period. You should see messages in the log like these:
 *     ```
       [26-Oct-2020 00:04:19 UTC] 640 MLACore::mla_plugins_loaded_action() MLA 2.84 (20201023) mla_debug_level 0x9
       [26-Oct-2020 00:04:19 UTC] MLAShortcode_Support::mla_ghostscript_present( 1 ) explicit_path = ''
       [26-Oct-2020 00:04:19 UTC] MLAShortcode_Support::mla_ghostscript_present( 1 ) ghostscript_present = NULL
       [26-Oct-2020 00:04:19 UTC] <strong>MLAShortcode_Support::mla_ghostscript_present</strong>, getenv(GSC) = false
       [26-Oct-2020 00:04:20 UTC] <strong>MLAShortcode_Support::mla_ghostscript_present</strong>,  exec(where gswin*c.exe) = ''
       [26-Oct-2020 00:04:20 UTC] <strong>MLAShortcode_Support::mla_ghostscript_present</strong>,  exec(dir /o:n/s/b "C:\Program Files\gs\*gswin*c.exe") = 'C:\\Program Files\\gs\\gs9.20\\bin\\gswin64c.exe'
       ```
   
 * Of course, the details will be different. You might be able to spot the problem
   and resolve it on your own or with your hosting support group. If you need more
   assistance from me, you can post the interesting messages in this topic. You 
   can also email me the information if that’s better for you. You can [contact me at my web site](http://davidlingren.com/#two)
   to continue the dialog.

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

The topic ‘PDF won’t render thumbnail’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

## Tags

 * [GhostScript](https://wordpress.org/support/topic-tag/ghostscript/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 6 replies
 * 3 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/pdf-wont-render-thumbnail/#post-13578916)
 * Status: resolved