WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#54320 new defect (bug)

There are no more thumbnails for uploaded PDFs

Reported by: 10rjulienk21 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8.1
Component: Media Keywords:
Focuses: Cc:

Description

My current WP configuration

  • PHP / MySQL version: 7.4
  • Theme used: Camp Maine of TAM’S TRADING POST (no longer maintained)
  • Extensions in place: activated: Akismet - BackWPup - contact Form 7 - Cookie Notice - Honeypot for Contact Form 7 - Ithemes Security - Post Type Switcher - SF Move Login - TablePress - WP Image Zoom - WP Maintenance Mode.

Name of the host: OVH
Site address: https://amapdlacrau.fr
Problems encountered:
The latest .PDF files uploaded to the media library have a generic file icon and no longer display the small thumbnail unlike older files. Clicking on the icon no longer opens the image of the 1st page of the file.
Everything I did that didn't work to fix the problem:

  • Create PDFs with different tools; Microsoft, Do PDF, ApowerPDF ...
  • Install WordPress version 5.8.1
  • Downgrading the PHP version from PHP 8 to PHP 7.4 This fixed the problem with the imagik module, declared absent by the site health check in version 8, but not the thumbnail problem.
  • Use an upload plugin: File Manager
  • Use thumbnail regeneration plugins: Regenerate Thumbnails and Force Regenerate Thumbnails.

I have not tested: use a media management plugin instead of the media library
I note that the function for generating the thumbnails of the PDF files has stopped working when the theme is no longer maintained and the PHP version is the same. Only the version of WordPress has changed

Change History (1)

#1 @SergeyBiryukov
6 weeks ago

  • Component changed from General to Media
Note: See TracTickets for help on using tickets.