Edit: Reverting to GD works, but IM does not.
Edit: I am using Kirby 3.5.3.1
I have set up my config like so:
/site/config/config.php
return [
'thumbs' => [
'driver' => 'im',
'quality' => 75,
'srcsets' => [
'default' => [
'800w' => ['width' => 800, 'quality' => 75],
'1024w' => ['width' => 1024, 'quality' => 75],
'1440w' => ['width' => 1200, 'quality' => 70],
'2048w' => ['width' => 1600, 'quality' => 60]
]
]
]
];
On my local dev, everything is working fine and images are resized. On the remote server, the large original file is always returned.
Looking at phpinfo on the live server I see imagick 3.4.4
is properly installed. I’ve also tried setting the binary path manually. After each adjustment to the config, I’ve removed the /media
folder, but what I’ve noticed is that on the live server, the .jobs
files are created but no actual thumbnails are being output.
The permissions seem to be correct as the Media folder is regenerated each time, just no actual resized files are generated.
–
EDIT: I found this similar thread: No thumbnail generated - #14 by lrntmszrs
However, GD is installed and confirmed in my phpinfo
However, removing the 'driver' => 'im'
, and reverting to GD does work. However, the quality is not as good as im
which my client is very particular about.
The most simple config like so is still failling:
return [
'thumbs' => [
'driver' => 'im',
'quality' => 40,
'bin' => '/usr/bin/convert'
]
];