Regenerating thumbnails for older PDF files not working
-
Hello David and community,
I am experiencing an issue with generating thumbnails for older PDF files in my WordPress media library. Here are the key points:
- Thumbnails for newly uploaded PDF files are generated correctly. The problem only occurs with thumbnails of older images that have already been generated.
- The Media Library Assistant (MLA) plugin reports that the thumbnail has been generated successfully, but it does not display. I have also tried using WP CLI, but all PDF files are skipped.
- All thumbnails were previously generated and displayed correctly, but due to a conflict with two other plugins, all thumbnails were deleted and needed to be regenerated.
- I have noticed that MLA does generate a new thumbnail for an existing PDF file, but the thumbnail image in the media library links to a different file than the one generated.
- For some reason, WordPress seems to think the deleted thumbnails are still present and assigns a numerical suffix (e.g., -1) to the new files, while links to thumbnails in the media library refer to images without suffixes that no longer exist.
I need advice on how to properly delete all PDF thumbnails from both the file system and the database so that new thumbnails can be generated correctly. I don’t think this is a problem caused by the MLA plugin, which cannot be harmful in any way, but I suspect David will know a magic SQL statement that will solve it in a tenth of a second ??
Any help would be greatly appreciated.Thank you!
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Regenerating thumbnails for older PDF files not working’ is closed to new replies.