Apparently you have to enable webp support for imagemagick. By default this is not the case when just installing imagemagick for Ubuntu 18.04 using apt-get.

If you are using imagemagick as the toolkit of choice for your Drupal site, but it doesn't support webp, you can't use this module.

CommentFileSizeAuthor
#2 3126853-2.patch759 bytescasey
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

casey created an issue. See original summary.

casey’s picture

FileSize
759 bytes
casey’s picture

Status: Active » Needs review
alexmoreno’s picture

Status: Needs review » Reviewed & tested by the community

  • alexmoreno committed 3dfd3ca on 8.x-1.x authored by casey
    Issue #3126853 by casey, alexmoreno: Fall back to GD if the installed...
alexmoreno’s picture

Status: Reviewed & tested by the community » Fixed
renguer0’s picture

Status: Fixed » Needs work

I think that breaks my production site. Webp won´t generated and I need to remove the module.

alexmoreno’s picture

Hi @casey. Could you give us more details on what's breaking? Are you sure this is what is breaking and not any other merges that we have done recently?

alexmoreno’s picture

Status: Needs work » Postponed (maintainer needs more info)
renguer0’s picture

I only saw that last update breaks my webp convertion on the site and I´m using Local Pipelines from ImageMagick module.

It shows error 500 in webp generation, not image default styles.

useernamee’s picture

@alexmoreno I can confirm/replicate @renguer0's issue. It happens if you have imagemagick selected as a toolkit but you don't have imagick extension added to the php.

I've provided a fix to #7 in Imagick not found issue.

alexmoreno’s picture

Status: Postponed (maintainer needs more info) » Needs review

Thanks a lot @useernamee,

looks good to me, pushing for review/test asap as it seems it's affecting a few users.

Bart Vanhoutte’s picture

Status: Needs review » Fixed

Fixed in #3156667: Error: Class 'Imagick' not found. Thanks everybody.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.