Fixed
Project:
PDFPreview
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2026 at 09:11 UTC
Updated:
21 Sep 2026 at 22:34 UTC
Jump to comment: Most recent
In January 2026 was released latest imagemagick v5.x
But pdfpreview is blocking imagemagick module update because of the compatibility dependency:
"drupal/imagemagick": "^3.7 || ^4.0"
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
mstrelan commentedHave not tested manually but the pipeline is green. Can someone please test?
Comment #7
bohus ulrychThanks for patch. But I was not able to upgrade module until I put in main composer.json this
"drupal/imagemagick": "5.0.1 as 4.9.9",
I think that composer was doing its checks before patch was applied. Don't know way how to solve it other way.
After that I was able to upgrade drupal/imagemagick 4.0.2 => 5.0.1
I used PDF preview as Field Format for my test PDF file field and image was correctly created.
Comment #8
kle commentedEven the hack above throws an error...
At this moment, I cant install the module on a fresh Drupal 11.4 with imagemagic and image_effects.
Comment #11
mstrelan commentedMerged to 1.x and 2.x. If someone can test 8.x-1.x-dev I can release 8.x-1.3.