Just wondering if/how PDF thumbnail generation is supposed to work with Local, if at all. On most remote hosts, Imagick and Ghostscript are installed and so when you upload a PDF into the media library, WordPress automatically creates a thumbnail image of it.
I can’t get it to work in Local though, and have been through all the previous related threads.
From the release notes it looks like it was supposed to be have been resolved for PHP 7.4.1… but I can’t test that because these days when you select PHP 7.4.1 in the PHP version dropdown, it actually loads 7.4.3, which doesn’t have Imagick. (Click the little i icon next to the PHP version).
PHP8.0.0 seems to have Imagick installed, but I don’t think Ghostscript is - so the thumnbail generation doesn’t work. The ‘Force Generate’ Thumbnails plugin doesn’t work, and running wp media regenerate --yes via CLI just returns the sh: gs: command not found error.
This is for existing Local sites, and when creating a brand new one with no plugins.
Am I barking up the wrong tree and this has never worked, or is it some quirk in my setup?
Thanks
System Details
Which version of Local is being used?
6.5.1
What Operating System (OS) and OS version is being used?
macOS Monterey
Something similar maybe, though my CLI error was related to Ghostscript not being present. The fix suggested in there doesn’t work in my case, and it’s no longer possible to use PHP 7.4.1 now anyway?
Am I right in concluding that Local doesn’t support PDF thumbnail generation at the present moment - it’s an outstanding bug fix/request that might be addressed in the future?
It works ‘out-of-the-box’ on most hosts, but with SiteGround for example you have to manually enable the Imagick module. That’s pretty easy to do though, so it’s a shame that it’s not a feature that Local currently supports.
Sorry I may have misunderstood at first. I was able to do some testing and replicate what you’re seeing now. I’ll check with the team and we’ll update you once we know more!