Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image optimisation always tries to use Imagick rather than what is configured in nova-media-hub.php #87

Open
benjaminhull opened this issue Nov 15, 2024 · 0 comments

Comments

@benjaminhull
Copy link

benjaminhull commented Nov 15, 2024

Steps to reproduce issue:

  • Configure 'image_driver' to be 'gd'
  • Ensure optimize settings will optimize images
  • Upload an image
  • See that Imagick is used by Spatie\Image (place dd() just before line 31 to see)

Obviously this issue manifests when you don't have Imagick installed, producing the error:

Error Outl1ne\NovaMediaHub\Jobs\MediaHubOptimizeAndConvertJob
Class "Imagick" not found

@benjaminhull benjaminhull changed the title Image optimisation always uses tries to use Imagick rather than what is configured in nova-media-hub.php Image optimisation always tries to use Imagick rather than what is configured in nova-media-hub.php Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant