Thanks for your report and for the links to your file; very helpful.
I downloaded your document and then uploaded it to my test system. WordPress generated the same black background I see on your site. I then applied MLA’s Thumbnail Generation function (the one you outlined in your post) using “Delete” to remove the existing files. The results look good to me – white background matching the original document.
If that’s not working on your system there may be a site configuration difference. The WordPress Site Info report for my system includes these components:
### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1802
imagemagick_version: ImageMagick 7.0.10-6 Q16 x64 2020-04-06 http://www.imagemagick.org
imagick_version: 3.5.1
file_uploads: File uploads is turned off
post_max_size: 100M
upload_max_filesize: 100M
max_effective_size: 100 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 62 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 1536
imagick::RESOURCETYPE_MAP: 62 GB
imagick::RESOURCETYPE_MEMORY: 31 GB
imagick::RESOURCETYPE_THREAD: 1
...
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: not available
### wp-server ###
server_architecture: Windows NT 10.0 AMD64
httpd_software: Apache/2.4.23 (Win64) OpenSSL/1.0.2j PHP/8.0.9
php_version: 8.0.9 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 300
memory_limit: 256M
max_input_time: 60
upload_max_filesize: 100M
php_post_max_size: 100M
curl_version: 7.76.1 OpenSSL/1.1.1k
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
I will leave this topic unresolved for now. Let me know if the MLA Thumbnail generation with “Delete” option isn’t working for you, and if you have a different site configuration. Thanks for any additional information you can provide.
Hi David,
“Delete” does not work either. Where do I get the site configuration info? I can send it along later.
Nick
I regret that MLA generation with the “Delete” option didn’t help.
To get the configuration information:
- Navigate to the admin Home/Dashboard screen and make the “Site Health Status” metabox visible.
- Click the “Site Health screen” link.
- Click the “Info” tab, to the right of the default “Status” tab.
- Follow the “If you want to export a handy list…” instructions.
- The excerpt I posted above is towards the end of the report. You can post everything if there is no confidential information in it.
You can also contact me at my web site if you’d rather send the information by email.
Note that the problem might also be related to GhostScript, which is not included in the Site Info report.
My system uses a pretty old version, 9.20, released back in 2017. The current version is 9.54; I have not tried it.
If you can find your GhostScript version I can try to match it on my system for further analysis.
Hey David,
I had my host update the Ghost Script. I tried regenerating the thumbnail again and it worked. I guess it was the Ghost Script. Thanx for your help!
Thanks for your update with the good news that updating GhostScript fixed the problem.
I am leaving this topic resolved, but please update it if you have any further trouble with PDF thumbnails. Thanks for your continuing interest in the plugin.