Hi,
I have downgraded my php version to match 8.1.29. I was still able to see the last page for PDFs with odd number of pages.
Perhaps it could be the PDFs. Have you tried other PDFs? I tested with samples I downloaded from googling.
Also could be an issue with imagemagik or spatie/pdf-to-image.
I would also look for any errors in the server logs.
Attaching my imagick extension details.
Hope this helps!
Hi, I have tested this on Drupal 10.3.2 with PHP 8.3.9 (didn't downgrade to your php version) and processed both 3 & 5 page PDFs.
The correct amount of images processed and the last image (odd) were showing for the node.
Since there is currently no language support. My workaround for this was to use multiple PDF upload fields and image fields for each language. Then created twig template(s) to display the respective fields based on current language.
This works for my client but it would be nice to have language support out of the box.
In the meantime, I hope this setup helps other users needing language support.
blnicholas → created an issue.
Disregard. I had a custom module modifying link attributes.